|
|
Subscribe / Log in / New account

BPFd: Running BCC tools remotely across systems and architectures

BPFd: Running BCC tools remotely across systems and architectures

Posted Jan 29, 2018 4:38 UTC (Mon) by alison (subscriber, #63752)
In reply to: BPFd: Running BCC tools remotely across systems and architectures by leoyan2017
Parent article: BPFd: Running BCC tools remotely across systems and architectures

I see that there's an lldb-server:

http://lldb.llvm.org/remote.html

That seem to be the back-end of interest fot those of us not rinning Android on the remote target, but given a well-specofied protocol, perhaps it's just as easy to get gdbserver working? The task is to teach the server how to emit the libbpf commands.


to post comments

BPFd: Running BCC tools remotely across systems and architectures

Posted Jan 30, 2018 2:42 UTC (Tue) by _joel_ (subscriber, #112763) [Link]

BPFd is not restricted to Android though. Further things not in libbpf may need to be performed as well on the remote side. Also its much simpler than LLDB ;-)

BPFd: Running BCC tools remotely across systems and architectures

Posted Jan 30, 2018 2:45 UTC (Tue) by _joel_ (subscriber, #112763) [Link]

It seems an extra effort and trying to fit something into LLDB or gdb-server, to do something that isn't supposed to. We're not remotely debugging a target process, not sure how well it really fits into a remote debugger model. Instead of that, you could consider contributing to BPFd and making it better ;D


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