Re: [PATCH bpf-next v3 3/3] bpftool: Display cookie for raw_tp link probe
From: Quentin Monnet
Date: Tue Jun 03 2025 - 12:21:33 EST
On 03/06/2025 16:43, Tao Chen wrote:
> Display cookie for raw_tp link probe, in plain mode:
>
> #bpftool link
>
> 22: raw_tracepoint prog 14
> tp 'sys_enter' cookie 23925373020405760
> pids test_progs(176)
>
> And in json mode:
>
> #bpftool link -j | jq
>
> [
> {
> "id": 47,
> "type": "raw_tracepoint",
> "prog_id": 79,
> "tp_name": "sys_enter",
> "cookie": 23925373020405760,
> "pids": [
> {
> "pid": 274,
> "comm": "test_progs"
> }
> ]
> }
> ]
>
> Signed-off-by: Tao Chen <chen.dylane@xxxxxxxxx>
Acked-by: Quentin Monnet <qmo@xxxxxxxxxx>
Thank you!