Skip to content

Porting bcc tools to libbpf #30298

@rob-scheepens

Description

@rob-scheepens

@0xB10C : reviving this old discussion from some two years ago:

          @rob-scheepens agree that BPF CO-RE and libbpf is the way to go for future tracing programs. I've looked into this a while ago, but it seems libbpf doesn't support USDT tracepoints yet (see https://github.com/iovisor/bcc/issues/3007). However, there was a mention of a soon to be open sourced libusdt library developed and used in production at Meta by @anakryiko [here](https://lore.kernel.org/bpf/CAEf4BzYRLxzVHw00DUphqqdv2m_AU7Mu=S0JF0PZYN40hBvHgA@mail.gmail.com/). Looking forward to testing this once available!

Originally posted by @0xB10C in #22006 (comment)

Now that USDT has been implemented it would be great to give this a try. In this context, I also came across iovisor/bcc#4404, which could help make things easier.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions