- 05 Jan, 2017 2 commits
-
-
4ast authored
Fixes for LLVM 4.0 and python3
-
Brenden Blanco authored
Avoid conflicting [no]inline attributes in function annotation. This was probably always there but now 4.0 is treating this as an error. Also, explicitly inline several functions in helpers.h. Turn off unwind tables in the flags passed to clang. This was generating calls to the elf relocator, which doesn't work for the BPF target. It is unclear which change in LLVM 4.0 altered this behavior. On python3, handle byte strings in the usual way for supporting backwards compatibility. Signed-off-by: Brenden Blanco <bblanco@gmail.com>
-
- 03 Jan, 2017 1 commit
-
-
Brenden Blanco authored
Update [virtual_]bpf.h to 4.10
-
- 29 Dec, 2016 2 commits
-
-
Brenden Blanco authored
Only the virtual_bpf.h should point to the installed kernel headers. Signed-off-by: Brenden Blanco <bblanco@gmail.com>
-
Brenden Blanco authored
As is occassionally necessary, we need to update the compat header files for new kernels. This picks up the bpf.h from 4.10rc1. Fixes: #877 Signed-off-by: Brenden Blanco <bblanco@gmail.com>
-
- 28 Dec, 2016 1 commit
-
-
4ast authored
Fix variable names in exceptions
-
- 26 Dec, 2016 1 commit
-
-
Paul Chaignon authored
-
- 22 Dec, 2016 1 commit
-
-
4ast authored
add cpuunclaimed
-
- 21 Dec, 2016 6 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
4ast authored
Add snapcraft script to package up bcc as a snap
-
4ast authored
Don't close extern table when a module destructs
-
Huapeng Zhou authored
-
4ast authored
add bpf_obj_pin/bpf_obj_get to pin/get bpf objects
-
- 20 Dec, 2016 4 commits
-
-
Huapeng Zhou authored
-
Huapeng Zhou authored
-
Huapeng Zhou authored
-
Brenden Blanco authored
support macro in call arguments
-
- 19 Dec, 2016 22 commits
-
-
shodoco authored
-
4ast authored
trace: -L, -t, -T switches
-
4ast authored
USDT tools for higher level languages
-
Sasha Goldshtein authored
The `-t` switch for specifying a thread id has been renamed to `-L`. The `-T` switch specifies that a time column should be provided, whereas the `-t` switch requests a relative timestamp (from the beginning of the trace). This is more consistent with other tools, and lets the user choose the desired format for the time column, if any.
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
When C allocations are traced, attach the `malloc` uprobe only to the requested process -- otherwise, we get allocation information from the entire system.
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
If the process in question doesn't have the USDT probes we expect, handle the failure gracefully. After all, it could be a binary compiled without USDT support, the pid could be recycled to some other application, or -- the process name could match, but by accident, and really belong to some other runtime.
-
Sasha Goldshtein authored
The /proc/PID/cmdline file has \0 for spaces in the command line, and there may be trailing \0 characters as well. Replace them all with spaces.
-
Sasha Goldshtein authored
This tool traces method executions and prints out messages with a nesting depth indicator that allows relatively easy visualization of program flow. To reduce overhead, `-C` and `-M` switches take class and method prefixes to filter the output by. The filtering takes place in the BPF program, so the unnecessary data never ends up in user space. Usage examples: ``` uflow java 185 uflow -M index python 180 uflow -C 'IRB::Irb' ruby 10041 ```
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
This tool gathers statistics (by pid) on method calls, class loads, garbage collections, thread creations, object allocations, and exceptions raised and prints them in a top-like style. Supported languages currently include Java, Python, Ruby, and Node. Not all languages provide the necessary probes for all event types. Usage examples: ``` ustat -C ustat -l java 1 ustat -l ruby -S objnew ```
-
Sasha Goldshtein authored
Allow callers to obtain the list of active (enabled) USDT probes from the USDT object, if they need to enable the uprobes by hand without using the bcc attach support. This is required when the same uprobe needs to be enabled in more than one process.
-
Sasha Goldshtein authored
-