On Tue, 6 Mar 2018 15:42:41 -0800 Chris Mason [off-list ref] wrote:
On 6 Mar 2018, at 11:12, Linus Torvalds wrote:
[...]
quoted
I do *not* want this to be a magical way to hide things.
Especially early on, this makes a lot of sense. But I wanted to plug
bps and the hopefully growing set of bpf introspection tools:
https://github.com/iovisor/bcc/blob/master/introspection/bps_example.txt
Long term these are probably a good place to tell the admin what's going
on.
(related to bpf itself not modprobe subject)
Hi Chris,
I just want to point out that the tool 'bpftool', is currently the
dominating tool for eBPF introspection. And the 'bps' tool you mention
seems to have gained less (open source) traction.
The bpftool is part of the kernel git-tree: tools/bpf/bpftool
https://github.com/torvalds/linux/blob/master/tools/bpf/bpftool/
And it even have bash-completion and man-pages in RST format so they
even render nicely when viewed via github:
https://github.com/torvalds/linux/blob/master/tools/bpf/bpftool/Documentation/bpftool.rst
https://github.com/torvalds/linux/blob/master/tools/bpf/bpftool/Documentation/bpftool-prog.rst
https://github.com/torvalds/linux/blob/master/tools/bpf/bpftool/Documentation/bpftool-map.rst
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer