- 17 Sep, 2018 5 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
add system() call
-
williangaspar authored
-
williangaspar authored
-
williangaspar authored
-
- 16 Sep, 2018 6 commits
-
-
-
Brendan Gregg authored
attach to multiple identical probes
-
Matheus Marchini authored
-
Matheus Marchini authored
-
Matheus Marchini authored
-
Matheus Marchini authored
There were two problems keeping bpftrace from attaching to multiple identical probes in the same script: the first one was in our IR code generation, where we were creating multiple sections with the same name (since the secion name is determined by the probe's name). Since sections must have unique names, LLVM was not able to translate our IR to BPF. This was resolved by appending a `_#` to the section's name. The second problem was attaching to that probe: we can't use the same event name multiple times in "kprobe_events". bcc already handles multiple probes coming from *different* processes, since it also includes the PID on the event name. The solution was similar, we append `_#` to the event name before sending it to bcc. This required some strucutral changes, like keeping the `#` (index) in the AST Probe nodes and calling `BPFTrace::add_probe` during codegen instead of during semantic analysis (otherwise we wouldn't have the index for our Probes). Fixes: https://github.com/iovisor/bpftrace/issues/97
-
- 15 Sep, 2018 14 commits
-
-
Brendan Gregg authored
More Tools
-
Brendan Gregg authored
-
Brendan Gregg authored
support negative integers
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
- 14 Sep, 2018 1 commit
-
-
Brendan Gregg authored
fix print() top logic
-
- 13 Sep, 2018 8 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
add username builtin
-
williangaspar authored
-
williangaspar authored
-
-
Brendan Gregg authored
fix unterminated map.ident strings for print, clear, and zero
-
Brendan Gregg authored
fix printf with name on multiple events
-
Brendan Gregg authored
-
- 12 Sep, 2018 6 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
fix parser line numbers for multi-line comments
-
Brendan Gregg authored
-
Brendan Gregg authored
support shift left and right
-
Brendan Gregg authored
ref guide: add usage section
-
Brendan Gregg authored
-