diff options
author | 2022-05-10 13:59:22 -0700 | |
---|---|---|
committer | 2022-05-10 21:58:40 -0700 | |
commit | 129b9c5ee2c18c3e36ec289140b5149f301118d1 (patch) | |
tree | cc4553cafe1b604183d9aae42002f7bf1db58c08 /tools/perf/scripts/python/stackcollapse.py | |
parent | bpf, x86: Attach a cookie to fentry/fexit/fmod_ret/lsm. (diff) | |
download | linux-dev-129b9c5ee2c18c3e36ec289140b5149f301118d1.tar.xz linux-dev-129b9c5ee2c18c3e36ec289140b5149f301118d1.zip |
libbpf: Assign cookies to links in libbpf.
Add a cookie field to the attributes of bpf_link_create().
Add bpf_program__attach_trace_opts() to attach a cookie to a link.
Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220510205923.3206889-5-kuifeng@fb.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions