diff options
author | Tatsuya S <tatsuya.s2862@gmail.com> | 2024-05-28 06:24:14 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-06-06 22:22:18 +0300 |
commit | 6c1f7f0acabd35ad73525bd2766da4669c18a9e6 (patch) | |
tree | 708a95ba910f2949fe9ef21765a6dd4632a5a130 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4057fd2cddaea0d6f6c5f8af4a455741f5632259 (diff) | |
download | linux-6c1f7f0acabd35ad73525bd2766da4669c18a9e6.tar.xz |
ftrace: Hide one more entry in stack trace when ftrace_pid is enabled
On setting set_ftrace_pid, a extra entry generated by ftrace_pid_func()
is shown on stack trace(CONFIG_UNWINDER_FRAME_POINTER=y).
[004] ..... 68.459382: <stack trace>
=> 0xffffffffa00090af
=> ksys_read
=> __x64_sys_read
=> x64_sys_call
=> do_syscall_64
=> entry_SYSCALL_64_after_hwframe
To resolve this issue, increment skip count
in function_stack_trace_call() if pids are set.
Link: https://lore.kernel.org/linux-trace-kernel/20240528032604.6813-3-tatsuya.s2862@gmail.com
Signed-off-by: Tatsuya S <tatsuya.s2862@gmail.com>
[ Rebased to current tree ]
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions