aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2020-02-20 16:29:50 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-02-20 17:43:41 -0500
commit3c18a9be7c9d4f53239795282c5d927f73f534b3 (patch)
treef9a5e526c147ca566c8f97b814b8abc2983e118d /usr
parenttracing: Fix number printing bug in print_synth_event() (diff)
downloadlinux-dev-3c18a9be7c9d4f53239795282c5d927f73f534b3.tar.xz
linux-dev-3c18a9be7c9d4f53239795282c5d927f73f534b3.zip
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 'usr')
0 files changed, 0 insertions, 0 deletions