summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorTao Chen <chen.dylane@linux.dev>2025-06-07 00:58:16 +0800
committerAndrii Nakryiko <andrii@kernel.org>2025-06-09 16:45:17 -0700
commitad954cbe084935b42e50d665fcbf2f8ac1df8c7e (patch)
treeb914530bdf759ee924d274b8572ec16f133bf064 /scripts/gdb/linux/utils.py
parentd77efc0ef5b0adb0de3c15f5c9d33ea6d60bd449 (diff)
bpftool: Display cookie for tracing link probe
Display cookie for tracing link probe, in plain mode: #bpftool link 5: tracing prog 34 prog_type tracing attach_type trace_fentry target_obj_id 1 target_btf_id 60355 cookie 4503599627370496 pids test_progs(176) And in json mode: #bpftool link -j | jq { "id": 5, "type": "tracing", "prog_id": 34, "prog_type": "tracing", "attach_type": "trace_fentry", "target_obj_id": 1, "target_btf_id": 60355, "cookie": 4503599627370496, "pids": [ { "pid": 176, "comm": "test_progs" } ] } Signed-off-by: Tao Chen <chen.dylane@linux.dev> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20250606165818.3394397-3-chen.dylane@linux.dev
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions