diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2013-07-31 13:16:22 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-07-31 13:16:22 -0400 |
commit | 2ba64035d0ca966fd189bc3e0826343fc81bf482 (patch) | |
tree | ca96642c76e96d13d7ace443a26e26f622c3337f /.gitignore | |
parent | 2816c551c796ec14620325b2c9ed75b9979d3125 (diff) | |
download | kernel_goldelico_gta04-2ba64035d0ca966fd189bc3e0826343fc81bf482.zip kernel_goldelico_gta04-2ba64035d0ca966fd189bc3e0826343fc81bf482.tar.gz kernel_goldelico_gta04-2ba64035d0ca966fd189bc3e0826343fc81bf482.tar.bz2 |
tracing: Add comment to describe special break case in probe_remove_event_call()
The "break" used in the do_for_each_event_file() is used as an optimization
as the loop is really a double loop. The loop searches all event files
for each trace_array. There's only one matching event file per trace_array
and after we find the event file for the trace_array, the break is used
to jump to the next trace_array and start the search there.
As this is not a standard way of using "break" in C code, it requires
a comment right before the break to let people know what is going on.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions