diff options
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2024-12-26 08:12:09 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-12-26 18:50:03 +0300 |
commit | 2ca8c112c9676e2394d76760db78ffddf21d93b5 (patch) | |
tree | a811de4fbc576c05d30516f0d1974d67455fc7ab /tools/perf/scripts/python/syscall-counts.py | |
parent | a3ed4157b7d89800a0008de0c9e46a438a5c3745 (diff) | |
download | linux-2ca8c112c9676e2394d76760db78ffddf21d93b5.tar.xz |
fgraph: Pass ftrace_regs to retfunc
Pass ftrace_regs to the fgraph_ops::retfunc(). If ftrace_regs is not
available, it passes a NULL instead. User callback function can access
some registers (including return address) via this ftrace_regs.
Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: Florent Revest <revest@chromium.org>
Cc: Martin KaFai Lau <martin.lau@linux.dev>
Cc: bpf <bpf@vger.kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Alan Maguire <alan.maguire@oracle.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/173518992972.391279.14055405490327765506.stgit@devnote2
Signed-off-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.py')
0 files changed, 0 insertions, 0 deletions