summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2023-08-09 11:34:29 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-08-22 01:51:26 +0300
commit5902da6d8a523ed468ea1f28e001c7d5f30c042d (patch)
tree0beec4d0915b095c9a768a5cb6e32b90f2299157 /tools/perf/scripts/python/export-to-postgresql.py
parent7e1b468123453bbb047eab7c7d6cecd4dd318ff0 (diff)
downloadlinux-5902da6d8a523ed468ea1f28e001c7d5f30c042d.tar.xz
libbpf: Add uprobe multi link support to bpf_program__attach_usdt
Adding support for usdt_manager_attach_usdt to use uprobe_multi link to attach to usdt probes. The uprobe_multi support is detected before the usdt program is loaded and its expected_attach_type is set accordingly. If uprobe_multi support is detected the usdt_manager_attach_usdt gathers uprobes info and calls bpf_program__attach_uprobe to create all needed uprobes. If uprobe_multi support is not detected the old behaviour stays. Also adding usdt.s program section for sleepable usdt probes. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20230809083440.3209381-18-jolsa@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions