Re: [PATCH bpf-next 2/6] bpftool: Show probed function in kprobe_multi link info

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

 



On Sat, Jun 3, 2023 at 6:16 AM Andrii Nakryiko
<andrii.nakryiko@xxxxxxxxx> wrote:
>
> On Fri, Jun 2, 2023 at 1:52 AM Yafang Shao <laoar.shao@xxxxxxxxx> wrote:
> >
> > Show the already expose kprobe_multi link info in bpftool. The result as
> > follows,
> > $ tools/bpf/bpftool/bpftool link show
> > 1: kprobe_multi  prog 5
> >         func_cnt 4  addrs            symbols
> >                     ffffffffb4d465b0 schedule_timeout_interruptible
> >                     ffffffffb4d465f0 schedule_timeout_killable
> >                     ffffffffb4d46630 schedule_timeout_uninterruptible
> >                     ffffffffb4d46670 schedule_timeout_idle
> >         pids trace(8729)
> >
> > $ tools/bpf/bpftool/bpftool link show -j
> > [{"id":1,"type":"kprobe_multi","prog_id":5,"func_cnt":4,"addrs":[{"addr":18446744072448402864,"symbol":"schedule_timeout_interruptible"},{"addr":18446744072448402928,"symbol":"schedule_timeout_killable"},{"addr":18446744072448402992,"symbol":"schedule_timeout_uninterruptible"},{"addr":18446744072448403056,"symbol":"schedule_timeout_idle"}],"pids":[{"pid":8729,"comm":"trace"}]}]
>
>
> probably a good idea to also show whether it's retprobe or not?

Good point. Will add it.

-- 
Regards
Yafang





[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