summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-08-15 10:06:04 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2021-08-17 01:45:08 +0300
commit47faff371755ba0f1ad76e2df7f5003377d974a5 (patch)
treefe153bf46bdcfd9db8f22cdcfd18b1ebba2ea3c4 /tools/perf/scripts/python/export-to-sqlite.py
parent3ec84f4b1638495ebff068a668dc417b4de5727e (diff)
downloadlinux-47faff371755ba0f1ad76e2df7f5003377d974a5.tar.xz
libbpf: Add bpf_cookie to perf_event, kprobe, uprobe, and tp attach APIs
Wire through bpf_cookie for all attach APIs that use perf_event_open under the hood: - for kprobes, extend existing bpf_kprobe_opts with bpf_cookie field; - for perf_event, uprobe, and tracepoint APIs, add their _opts variants and pass bpf_cookie through opts. For kernel that don't support BPF_LINK_CREATE for perf_events, and thus bpf_cookie is not supported either, return error and log warning for user. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20210815070609.987780-12-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions