summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorChen Zhongjin <chenzhongjin@huawei.com>2022-09-24 15:26:29 +0800
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-09-27 14:48:26 -0400
commitae398ad89456847aab9f12b0e63c51443af5da48 (patch)
tree02d86c0c4d9ff63cbb18fd4486e57c8370816a62 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3008119a3dd8052b7e5c07488e20a7abb0d287f2 (diff)
x86: kprobes: Remove unused macro stack_addr
An unused macro reported by [-Wunused-macros]. This macro is used to access the sp in pt_regs because at that time x86_32 can only get sp by kernel_stack_pointer(regs). '3c88c692c287 ("x86/stackframe/32: Provide consistent pt_regs")' This commit have unified the pt_regs and from them we can get sp from pt_regs with regs->sp easily. Nowhere is using this macro anymore. Refrencing pt_regs directly is more clear. Remove this macro for code cleaning. Link: https://lkml.kernel.org/r/20220924072629.104759-1-chenzhongjin@huawei.com Signed-off-by: Chen Zhongjin <chenzhongjin@huawei.com> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions