]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Change event_trigger_ops func() to trigger()
authorTom Zanussi <zanussi@kernel.org>
Mon, 10 Jan 2022 14:04:12 +0000 (08:04 -0600)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 10 Jan 2022 16:09:10 +0000 (11:09 -0500)
commit3eeb34a72bfa3e230cb07602bd276b4428d270f6
tree29fe3379239cc36bd10b883625f1aa172602635d
parentb14e64e178f43736aa1ee8d90a2172080d75da26
tracing: Change event_trigger_ops func() to trigger()

The name of the func() callback on event_trigger_ops is too generic
and is easily confused with other callbacks with that name, so change
it to something that reflects its actual purpose.

In this case, the main purpose of the callback is to implement an
event trigger, so call it trigger() instead.

Also add some more documentation to event_trigger_ops describing the
callbacks a bit better.

Link: https://lkml.kernel.org/r/36ab812e3ee74ee03ae0043fda41a858ee728c00.1641823001.git.zanussi@kernel.org
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.h
kernel/trace/trace_eprobe.c
kernel/trace/trace_events_hist.c
kernel/trace/trace_events_trigger.c