diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-11-02 13:08:26 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-11-02 13:08:26 -0500 |
commit | 799fd44cf5bbcc51c46b674035bfc49cbf6907ba (patch) | |
tree | bdca4e60b2c7a6daeeef55bd1e473b1797d8a802 /scripts/recordmcount.c | |
parent | fb662288284e8f2ec26f13d50a6b0d5781771648 (diff) | |
download | lwn-799fd44cf5bbcc51c46b674035bfc49cbf6907ba.tar.gz lwn-799fd44cf5bbcc51c46b674035bfc49cbf6907ba.zip |
tracing: Call on_each_cpu() when adding or removing single pids from set_event_pid
For the case where pids are already in set_event_pid, and one is added or
removed then each CPU should be checked to make sure that the new or old pid
is on or not on a CPU.
For example:
# echo 123 >> set_event_pid
or
# echo '!123' >> set_event_pid
Link: http://lkml.kernel.org/r/20151030061643.GA19480@cac
Suggested-by: Jiaxing Wang <hello.wjx@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions