aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorSong Liu <[email protected]>2022-07-19 17:21:26 -0700
committerDaniel Borkmann <[email protected]>2022-07-22 22:04:37 +0200
commit00963a2e75a872e5fce4d0115ac2786ec86b57a6 (patch)
tree91073f9e37c12cf4321a60f5c1b20c307c64e199 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent316cba62dfb7878b7353177e6a7da9cc0c979cde (diff)
bpf: Support bpf_trampoline on functions with IPMODIFY (e.g. livepatch)
When tracing a function with IPMODIFY ftrace_ops (livepatch), the bpf trampoline must follow the instruction pointer saved on stack. This needs extra handling for bpf trampolines with BPF_TRAMP_F_CALL_ORIG flag. Implement bpf_tramp_ftrace_ops_func and use it for the ftrace_ops used by BPF trampoline. This enables tracing functions with livepatch. This also requires moving bpf trampoline to *_ftrace_direct_mult APIs. Signed-off-by: Song Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions