Jordan Rome
Jordan Rome
bpf_get_stackid() is broken by design. First, stacks can suffer from hash collisions and we can lose stacks. We receive collision errors in userspace b/c we do not set BPF_F_REUSE_STACKID. Note...
``` $ sudo ./build/src/bpftrace -e 'BEGIN { print(@) } END { @ = 1 }' ``` Expected: ``` @: 0 @: 1 ``` Actual: ``` @: 1 ``` This, however,...
Run an iterator at a particular interval. ### Is your feature request related to a problem? Please describe. I want to be able to track hung tasks e.g. tasks in...
Seems that some of the runtime tests are flaky in the CI, perhaps because functions/probes are getting called before bpftrace can attach. So let's convert the test progs to just...
### Describe the solution you'd like Small addition to the language to support boolean literals so you can have bool vars (instead of using 1 or 0) and for things...
- `DEBUG`: log info to the user regardless of log level (like using stdout and comes with file and line number). No prefix. - `V1`: log info to the user...
``` BEGIN { $i = 0; while ($i < 100) { @m[1] += 1; $i++; if ($i == 100) { exit(); } } } END { for ($kv : @m)...
Currently, we have 6 different log flavors (all with varying degrees of use and for varying purposes): - `DEBUG` (used 1 time) - `INFO` (used 3 times - one of...
Fixes Issue: https://github.com/bpftrace/bpftrace/issues/2998 ``` BEGIN { $t = (1, 2, "string"); print($t); exit() } ``` Should print: `(1, 2, "string")` instead of `(1, 2, string)` ##### Checklist - [ ]...
Looking in shared writeable locations for kernel headers is inherently risky even bpftrace does the unpacking. Remove this functionality and let the user specify the path to these headers if...