Git Product home page Git Product logo

Comments (2)

0xB10C avatar 0xB10C commented on June 28, 2024 1

I've been extensively using libbpf (& the libbpf-rs Rust crate) with the Bitcoin Core USDT tracepoints in https://github.com/0xB10C/peer-observer. I would be happy to see the tools being ported and would help to review a port. That being said, the tools (contrinb/tracing/*) could also be extracted to a tracing-tools repository to be maintained (and tested against Bitcoin Core) there.

More important than the tools is IMO an elegant way of getting rid of the bcc Python dependency, which has been troublesome, start and using libbpf in our tests. I'm not aware of Python bindings for libbpf (but haven't tried to look for them).

Given that there seem to be a lack of reviewers (or interest) for tracing related PRs (e.g. #26593, #25832), I'm not planning to start porting it myself anytime soon.

Additionally, we use the SystemTap macros to insert tracepoints. I think the x84_64 support of libbpf for these is good, aarch64 might not be fully ready yet (libbpf/libbpf#796). But I don't think there are many people using the tracepoints on aarch64 (besides myself).

from bitcoin.

willcl-ark avatar willcl-ark commented on June 28, 2024

@rob-scheepens Thanks for opening this up for discussion again after the developments in libbpf.

Is this something that you plan on implementing yourself and wanted to brainstorm on first?

If not (and @0xB10C is not interested in implementing currently due to lack of review) then I'm not sure that keeping this issue open longer than the above discussion is useful and might recommend closing it again until developer interest in this feature picks up...

from bitcoin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.