- 26 Mar, 2017 1 commit
-
-
Paul Chaignon authored
-
- 23 Mar, 2017 3 commits
-
-
4ast authored
docs: update features list (new maps: array/hash of maps)
-
Quentin Monnet authored
-
Brenden Blanco authored
Verify format specifiers in bpf_trace_printk in rewriter
-
- 22 Mar, 2017 4 commits
-
-
Brenden Blanco authored
Fix the Markdown list in the README
-
Brenden Blanco authored
snapcraft: add in some new tools missing from the snapcraft apps list
-
Paul Chaignon authored
-
Colin Ian King authored
Add in bpflist and mysqld_qslower to apps list and re-order dbstat in the list. Signed-off-by: Colin Ian King <colin.king@canonical.com>
-
- 21 Mar, 2017 5 commits
-
-
Paul Chaignon authored
Verifies format specifiers while rewriting calls to bpf_trace_printk and prints a warning the printk will be rejected by the kernel at runtime. For tests, redirects stderr at the file descriptor level in order to catch warnings from the C library.
-
Brenden Blanco authored
Use epoll in BPFPerfBuffer
-
Brenden Blanco authored
bpflist: Add to tests and use Python directory listing
-
Brenden Blanco authored
python: Allow module=None when resolving kernel symbols
-
Simon Liu authored
-
- 18 Mar, 2017 2 commits
- 16 Mar, 2017 2 commits
-
-
Brenden Blanco authored
Add build option for installing C++ examples
-
Teng Qin authored
-
- 11 Mar, 2017 4 commits
-
-
Brenden Blanco authored
Smoke tests for the tools
-
Sasha Goldshtein authored
This commit adds basic smoke tests for most tools in tools/ by running the tool with either a short duration, or interrupting it with a SIGINT after a short duration. The tests check the return value from the tool to detect any Python exceptions or other errors, but they do not read the standard error or standard output and parse the tool's result. Some tools are not covered by these smoke tests for reasons documented in the test itself: * btrfsdist and btrfsslower need btrfs * cachetop doesn't like to run without a terminal * dbslower, dbstat, and mysqld_qslower need a database engine * deadlock_detector allocates a huge amount of memory * softirqs doesn't work on new kernels and needs fixing (#1031) * ugc needs a USDT-enabled runtime with GC probes * zfsdist and zfsslower need zfs This is a good place to start, but clearly for some tools, especially those with a complex interface like trace and argdist, we need more than just basic smoke tests.
-
Sasha Goldshtein authored
-
4ast authored
syscount: Use ausyscalls if available to get syscall list
-
- 10 Mar, 2017 2 commits
-
-
Brendan Gregg authored
bpflist: Display processes with running BPF programs and maps
-
Brenden Blanco authored
Prepare debian changelog for v0.3.0 tag
-
- 09 Mar, 2017 5 commits
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@gmail.com>
-
Sasha Goldshtein authored
This tool displays processes with running BPF programs and maps, and also optionally kprobes and uprobes. This is a poor-man's version that snoops BPF file descriptors, as proposed by @brendangregg. Example: ``` PID COMM TYPE COUNT 4058 fileslower prog 4 4058 fileslower map 2 4106 bashreadline map 1 4106 bashreadline prog 1 ``` Resolves #1036.
-
Sasha Goldshtein authored
If ausyscall is installed, it can provide a clean, up-to-date list of syscall numbers for the current architecture. This is much more useful than the default hardcoded list for x86-64, which is currently used by syscount. Try to run `ausyscall --dump` and parse the output before resorting to the static list. Tested on FC/Linux 4.9 and produces 327 syscalls. Resolves #1001.
-
4ast authored
funclatency: remove unnecessary include
-
4ast authored
Added s390x support. Needs 4.10 Kernel
-
- 08 Mar, 2017 1 commit
-
-
Brendan Gregg authored
-
- 07 Mar, 2017 2 commits
-
-
Zvonko Kosic authored
-
Brenden Blanco authored
Restrict rewrite of unary operators to dereference operator
-
- 06 Mar, 2017 5 commits
-
-
Paul Chaignon authored
Since the whole expression, unary operator included, is replaced by a call to bpf_probe_read, the dereference operator is currently the only unary operator properly rewritten. When rewriting an increment expression (++val) for instance, the increment operator is lost in translation. Trying to rewrite all unary operators sometimes confuses bcc and results in improper code, for instance when trying to rewrite a logical negation.
-
Brenden Blanco authored
debuild: Do not parallelize tests
-
Florian Schmidt authored
The tests in the test suite are not parallelizable and will fail if run in parallel. Make the test step non-parallel to fix this issue.
-
Brenden Blanco authored
Fix bpf_dins_pkt rewrite in BinaryOperator
-
Brenden Blanco authored
cmake: Explicitly mark static libraries as such
-
- 05 Mar, 2017 3 commits
-
-
4ast authored
filetop: support specifying sort column via cmdline argument
-
Rafael Fonseca authored
Some distros (e.g Fedora) override the default behaviour of building static libraries to building dynamic ones instead. By explicitly building the correct libraries as static, we make sure BCC properly compiles everywhere.
-
Paul Chaignon authored
Binary operator expressions where the left hand-side expression is a reference to the packet are replaced by a call to the bpf_dins_pkt helper. When replacing text, the Clang Rewriter tries to maintain a list of offsets between the original and the new position of tokens. Replacing the whole binary operator expression with the call to bpf_dins_pkt confuses the Rewriter and it is unable to track the new position of the right hand-side expression. Rewriting the binary operator expression in two times without rewriting the right hand-side expression itself solves the issue.
-
- 04 Mar, 2017 1 commit
-
-
Paul Chaignon authored
* Travis CI build to check compliance with PEP8 * argdist: linter cleanup * dbslower: linter cleanup * dbstat: linter cleanup * memleak: linter cleanup * syscount: linter cleanup * tplist: linter cleanup * trace: linter cleanup * ucalls: linter cleanup * uflow: linter cleanup * ugc: linter cleanup * uobjnew: linter cleanup * ustat: linter cleanup
-