- 24 Sep, 2015 9 commits
-
-
Brenden Blanco authored
Add BPF_HISTOGRAM type and print support
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
This adds support for a specialized histogram type, which underneath maps to an array or a hash table, depending on key type. With no arguments, it takes on the type `u64 table[64];`. The other current supported key type is `struct { int32|int64 bucket; int32|int64 slot }`. To print these automatically, print_log2_hist is underneath split into two types of printouts, one which prints the single histogram, and another which prints a histogram for each unique `bucket` value. See test_histogram.py for examples. Fixes: #144 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Allows things like: ```c int kprobe__foo(struct pt_regs *ctx, u64 *ptr) { bpf_trace_printk("%lx\n", *ptr); ``` Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Initial implementation of P4->ebpf compiler.
-
Mihai Budiu authored
-
Brenden Blanco authored
Add contribution section
-
Suchakra Sharma authored
-
Suchakra Sharma authored
-
- 23 Sep, 2015 2 commits
-
-
4ast authored
Use GNUInstallDirs for LIBDIR variable
-
Brenden Blanco authored
This should be supported in older versions of cmake, but haven't explicitly tested those. Fixes: #243 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 21 Sep, 2015 15 commits
-
-
Brenden Blanco authored
biolatency, funclatency, and bpf_log2l usage
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brenden Blanco authored
add bpf_log2 functions
-
Brendan Gregg authored
-
Brenden Blanco authored
killsnoop and some minor fixes
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
- 18 Sep, 2015 2 commits
-
-
Brenden Blanco authored
opensnoop
-
Brendan Gregg authored
-
- 17 Sep, 2015 4 commits
-
-
4ast authored
Add a better test case for nested probe reads
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add support for static helper functions
-
Brenden Blanco authored
This adds support for static helper functions that can be reused. It is not necessary to include pt_regs in the helper functions, even though external pointers may be dereferenced. Arguments in the helpers can also be reordered. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 16 Sep, 2015 8 commits
-
-
Brenden Blanco authored
add biosnoop to README
-
Brendan Gregg authored
-
Brenden Blanco authored
biosnoop and disk updates
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
4ast authored
Fix probe reads on char[] types
-
Brenden Blanco authored
It is easy enough to wrap the type in a typeof(), otherwise the rewriter would need to do a deeper parsing of the type information to place it properly next to the variable name. Fixes: #219 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-