diff options
author | Li Chen <chenl311@chinatelecom.cn> | 2024-08-19 14:01:53 +0800 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-10-08 15:24:22 -0400 |
commit | e32540b1e4b37fd720b59f8a504d7592fc3483bf (patch) | |
tree | 2d05424f767c53e12ce36a076267a9f331fee2fa /kernel/trace/trace_functions_graph.c | |
parent | 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b (diff) | |
download | linux-e32540b1e4b37fd720b59f8a504d7592fc3483bf.tar.gz linux-e32540b1e4b37fd720b59f8a504d7592fc3483bf.tar.bz2 linux-e32540b1e4b37fd720b59f8a504d7592fc3483bf.zip |
ftrace: Use this_cpu_ptr() instead of per_cpu_ptr(smp_processor_id())
Use this_cpu_ptr() instead of open coding the equivalent in various
ftrace functions.
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/87y14t6ofi.wl-me@linux.beauty
Signed-off-by: Li Chen <chenl311@chinatelecom.cn>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions