Re: [PATCH bpf-next 3/3] bpftool: Display cookie for raw_tp link probe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



在 2025/5/30 01:11, Alexei Starovoitov 写道:
On Thu, May 29, 2025 at 10:01 AM Tao Chen <chen.dylane@xxxxxxxxx> 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)

Curious number.
What 0x55000000000000 was used for ?

Yes, no practical in fact, i just ran the selftest case in bpf_cookie.c.
raw_tp_opts.cookie = cookie = 0x55000000000000L;

--
Best Regards
Tao Chen




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux