diff options
| author | Qiujun Huang <[email protected]> | 2020-12-30 22:05:21 +0800 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2021-02-02 17:02:05 -0500 |
| commit | 18d14ebdbd07abdd6466f252d431ce6f0e70e38a (patch) | |
| tree | c8c85082b088848766c7fa53d0e890facddb2cc9 /tools/perf/util/c++/clang.cpp | |
| parent | b3ca59f6fe79eb83a360e885f49730d07d31bf79 (diff) | |
tracing: Remove get/put_cpu() from function_trace_init
Since commit b6f11df26fdc ("trace: Call tracing_reset_online_cpus before
tracer->init()"), get/put_cpu() are not needed anymore.
We can use raw_smp_processor_id() instead.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Qiujun Huang <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions