- 06 Feb, 2016 4 commits
-
-
Allan McAleavy authored
-
mcaleavya authored
-
mcaleavya authored
-
Allan McAleavy authored
update local repo
-
- 05 Feb, 2016 8 commits
-
-
Brendan Gregg authored
documentation typos
-
Brendan Gregg authored
-
4ast authored
Fix segfault in ~BPFModule on syntax error
-
Brendan Gregg authored
-
Brenden Blanco authored
~BPFModule was segfaulting because tables_ was an empty pointer. The pointer is valid only for valid compilations. Add a test as well. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
contributing scripts guide
-
Brendan Gregg authored
-
Brendan Gregg authored
-
- 04 Feb, 2016 4 commits
-
-
4ast authored
Reorder P4 struct key initializers and blocks
-
Brenden Blanco authored
The basic_routing.p4 program was failing verification due to missed map key initializers in some paths. Put the goto label at the head of the block and add a " = {}" for each key declaration inside the block. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
use __builtin_memcpy() instead of unrolled loop
-
Alexei Starovoitov authored
also remove tab and unused import Signed-off-by: Alexei Starovoitov <ast@fb.com>
-
- 31 Jan, 2016 2 commits
- 30 Jan, 2016 3 commits
-
-
4ast authored
offwaketime
-
Brendan Gregg authored
-
Brendan Gregg authored
-
- 29 Jan, 2016 13 commits
-
-
4ast authored
Update test_dump_func to be python3 compatible
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
gethostlatency
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brenden Blanco authored
bashreadline
-
Brendan Gregg authored
-
Brenden Blanco authored
more strlen examples
-
Brendan Gregg authored
-
4ast authored
Add uprobe strlen histogram example
-
Brenden Blanco authored
This example traces all calls to libc's strlen(). The program is attached as a retprobe, therefore giving access to the resulting string length. The value is kept in a log2 histogram that is printed to console once per second. Example: ``` $ sudo ./strlen_hist.py 22:12:51 strlen return: : count distribution 0 -> 1 : 2041 |**************** | 2 -> 3 : 1120 |******** | 4 -> 7 : 3300 |************************** | 8 -> 15 : 4995 |****************************************| 16 -> 31 : 2130 |***************** | 32 -> 63 : 562 |**** | ^C ``` Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Uprobe support
-
Brenden Blanco authored
Use the full path invocation of objdump in both places. Add a docstring for the variants of attach_retprobe. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 28 Jan, 2016 6 commits
-
-
Brenden Blanco authored
The calculation of function address in non-shared libraries was incorrect. Fix it. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
This adds a similar set of functions to kprobes for userspace probes. The calling convention is different, however, since the user must provide a library/binary name and function symbol or address. Add two simple test cases for both. I don't see an easy way in this api to add auto-loading support, as in kprobe functions that start with "kprobe__". Such niceties can come later. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
The base calling convention for uprobes is the same as kprobes, but just the path in debug/tracing/ is slightly different. Add a new API for this and slightly refactor the code. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
wakeuptime
-
Brendan Gregg authored
-
Brendan Gregg authored
-