aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <[email protected]>2024-10-15 10:28:43 +0900
committerSteven Rostedt (Google) <[email protected]>2024-10-15 17:22:11 -0400
commit0b582611a8f4270fa357a22a546909b2dd5fc5fe (patch)
treee6aa70534db6bdedd605975572bb9c1de0b8c5e6 /tools/perf/scripts/python/syscall-counts.py
parente4cf33ca48128d580e25ebe779b7ba7b4b4cf733 (diff)
ftrace: Use arch_ftrace_regs() for ftrace_regs_*() macros
Since the arch_ftrace_get_regs(fregs) is only valid when the FL_SAVE_REGS is set, we need to use `&arch_ftrace_regs()->regs` for ftrace_regs_*() APIs because those APIs are for ftrace_regs, not complete pt_regs. Cc: Alexei Starovoitov <[email protected]> Cc: Florent Revest <[email protected]> Cc: Martin KaFai Lau <[email protected]> Cc: bpf <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Alan Maguire <[email protected]> Cc: Mark Rutland <[email protected]> Link: https://lore.kernel.org/172895572290.107311.16057631001860177198.stgit@devnote2 Fixes: e4cf33ca4812 ("ftrace: Consolidate ftrace_regs accessor functions for archs using pt_regs") Signed-off-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions