diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-02-20 16:29:50 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-02-20 17:43:41 -0500 |
commit | 3c18a9be7c9d4f53239795282c5d927f73f534b3 (patch) | |
tree | f9a5e526c147ca566c8f97b814b8abc2983e118d /tools/perf/scripts/python/stackcollapse.py | |
parent | 784bd0847eda032ed2f3522f87250655a18c0190 (diff) |
tracing: Have synthetic event test use raw_smp_processor_id()
The test code that tests synthetic event creation pushes in as one of its
test fields the current CPU using "smp_processor_id()". As this is just
something to see if the value is correctly passed in, and the actual CPU
used does not matter, use raw_smp_processor_id(), otherwise with debug
preemption enabled, a warning happens as the smp_processor_id() is called
without preemption enabled.
Link: http://lkml.kernel.org/r/20200220162950.35162579@gandalf.local.home
Reviewed-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions