On Thu, Apr 8, 2021 at 12:57 PM Toke Høiland-Jørgensen <toke@xxxxxxxxxx> wrote: > > There is currently no way to discover the target of a tracing program > attachment after the fact. Add this information to bpf_link_info and return > it when querying the bpf_link fd. > > Signed-off-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > --- LGTM. Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > include/linux/bpf_verifier.h | 9 +++++++++ > include/uapi/linux/bpf.h | 2 ++ > kernel/bpf/syscall.c | 3 +++ > tools/include/uapi/linux/bpf.h | 2 ++ > 4 files changed, 16 insertions(+) > [...]