Skip to content

bpftrace: add version 0.20.3, and associated tools #278

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

thomas
Copy link
Contributor

@thomas thomas commented Apr 9, 2024

Rationale, maybe useful for finding performance issues with our storage. Bcc and bpftrace (what sits on top of bcc) make use of extended BPF (Berkeley Packet Filters),

Treat this as experimental, since some features require kernel options we do not use - so YMMV :)

To start you must be root and also need to make the kernelheaders of the running kernel available via sysfs.

#> insmod kheaders

-> /sys/kernel/kheaders.tar.xz

More info:

https://en.wikipedia.org/wiki/Berkeley_Packet_Filter
https://github.com/iovisor/bcc
https://github.com/bpftrace/bpftrace

P.S. Sometimes the actual headers are also found under /lib/modules/*/build/include/linux .

Rationale, maybe useful for finding performance issues with our
storage. Bcc and bpftrace (what sits on top of bcc) make use of
extended BPF (Berkeley Packet Filters),

Treat this as experimental, since some features require kernel
options we do not use - so YMMV :)

To start you must be root and also need to make the kernelheaders
of the running kernel available via sysfs.

  #> insmod kheaders

  -> /sys/kernel/kheaders.tar.xz

More info:

 https://en.wikipedia.org/wiki/Berkeley_Packet_Filter
 https://github.com/iovisor/bcc
 https://github.com/bpftrace/bpftrace

P.S. Sometimes the actual headers are also found under
/lib/modules/*/build/include/linux .
@thomas
Copy link
Contributor Author

thomas commented Apr 10, 2024

oops: modprobe kheaders indeed.

@thomas thomas merged commit 3c2851f into master Apr 10, 2024
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant