|
|
Subscribe / Log in / New account

Some advanced BCC topics

Some advanced BCC topics

Posted Feb 23, 2018 22:12 UTC (Fri) by blubber (guest, #84003)
In reply to: Some advanced BCC topics by Cyberax
Parent article: Some advanced BCC topics

In terms of language (although that's probably not your question), there's bpftrace which is dtrace style syntax, but it also uses LLVM in the background though
(https://github.com/ajor/bpftrace).

Another project that allows for making it easier to run bcc on remote systems is bpfd which seems to be used by Android folks. It allows to run bcc on a remotely connected system without the need to have the entire LLVM infrastructure there. The announcement of the project was here https://lkml.org/lkml/2017/12/29/137 (https://github.com/joelagnel/bpfd). Perhaps this might rather be what you could be looking for wrt remote system.


to post comments

Some advanced BCC topics

Posted Feb 23, 2018 22:18 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link]

bpfd is a horrible hack.

It just seems a waste to require the full LLVM machinery when the target is so simple and most scripts are trivial. A good old one-pass translator will probably be more than sufficient for most of users.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds