Skip to content
#

bpf

Here are 166 public repositories matching this topic...

martinvonwittich
martinvonwittich commented Aug 25, 2021

Is your feature request related to a problem? Please describe.

I fiddled around with bpftrace to write internal documentation for my colleagues on how to use it. I chose tracepoint:syscalls:sys_enter_mkdir as a suitable tracepoint for a simple demo, and wrote this code:

bpftrace -e 'tracepoint:syscalls:sys_enter_mkdir { printf("mkdir %s %o\n", str(args->pathname), args->mode); }
pothos
pothos commented Dec 9, 2019

When the k8s subcommand notices that a container is deleted, it keeps the tracelet for one minute. Directly retire the tracelet without any timeouts after dumping it a final time and store the rendered string compressed in a second list (which has a maximal length, appending if full will push the oldest element out).
If the API functions for dump, close etc can't find an active tracelet,

Improve this page

Add a description, image, and links to the bpf topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the bpf topic, visit your repo's landing page and select "manage topics."

Learn more