- 08 Mar, 2016 3 commits
-
-
4ast authored
Add option to change kernel build search paths
-
Brenden Blanco authored
Include all of the paths in the build/ directory when kernel headers are split. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Some linux distributions structure the /lib/modules directories differently, causing complexities. Add cmake overrides to be able to compile different behavior. If your distro sets up `/lib/modules/$(uname -r)/{source,build}` with header files split between the two (debian does this), then add -DBCC_KERNEL_HAS_SOURCE_DIR=1 to the cmake command line. If your distro just has something other than build/, but things are still in one subdirectory, then add -DBCC_KERNEL_MODULES_SUFFIX=foo to the cmake command line. Also, fix one implicit declaration warning introduced by the new bpf_get_stackid() helper. Fixes: #397 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 04 Mar, 2016 7 commits
-
-
4ast authored
[RFC] Basic implementation of stacktrace table
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
This is the initial implementation of bpf_get_stackid with python helpers. This doesn't expose the different methods of calling (kernel/user, fast, or reuse). Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brendan Gregg authored
Fix stacksnoop PID filter
-
Mark Drayton authored
The function FILTER is injected into (trace_stack()) returns void, not int.
-
4ast authored
Move cc/*py tests to python subdir and introduce c standalone test binary
-
- 03 Mar, 2016 4 commits
-
-
Brenden Blanco authored
This creates a new static library target for bcc. Add one trivial c test case that links against it. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
They didn't quite make sense where they were. At one point 'cc' meant compiler, and yes they were testing the compiler. Now lets use the convention that different tests/ subdirectories test different bindings (c, python, other). Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Update headers with 4.5+ features
-
Brenden Blanco authored
Pull in bpf.h from upstream, and update helpers accordingly. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 01 Mar, 2016 2 commits
-
-
Brenden Blanco authored
INSTALL.md: Fix path for example and some small clarifications
-
Billy O'Mahony authored
-
- 29 Feb, 2016 2 commits
-
-
4ast authored
Add v6 headers to proto.h
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 24 Feb, 2016 2 commits
-
-
4ast authored
tools map
-
Brendan Gregg authored
-
- 23 Feb, 2016 9 commits
-
-
4ast authored
Remove use of update() in funccount
-
Brenden Blanco authored
Hash map updates are not safe in recursive context. Change the implementation of funccount to be read-only by converting lookup_or_init() to lookup(). When run in interval mode, zero the counts table instead of clearing it. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Add a helper to translate from kernel name to symbol. As part of this, slightly refactor the ksym globals (which are internal implementation and not part of the api) so that there is one array of tuples instead of two arrays. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
It is sometimes useful to zero out the entries of table without erasing the keys. Add a zero() function to make this easy. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Enforce limit of 1000 open [uk]probes
-
Brenden Blanco authored
The number of open probes has bitten users already, so lets enforce a limit with a meaningful(ish) message. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Prepare debian changelog for v0.1.8 tag
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 22 Feb, 2016 11 commits
-
-
4ast authored
Prepare deb build for nightly target
-
Brenden Blanco authored
Add incremental release numbering for deb targets. Tweak rpm release numbering as well. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Fix ubuntu kernel path typo is INSTALL.md
-
Brenden Blanco authored
-
4ast authored
Update rpm build scripts and README
-
Brenden Blanco authored
Print traceback only if verbose mode was requested
-
Brenden Blanco authored
trace: trace function execution with custom format strings and filters
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Brenden Blanco authored
Remove the unused Dockerfiles. Create two flavors of spec files, one which includes steps to build clang from source and link against it, and one which assumes clang is already available and just builds bcc. The former is more appropriate for official packaging, the latter for nightly and quick builds. Also, introduce a numbering scheme for nightly rpm files. The format will be: `libbcc-$latest_git_tag-g$latest_git_hash.x86_64.rpm` as in: `libbcc-0.1.7-g73c4d1a.x86_64.rpm` Update the INSTALL.md to mention the RPMs Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-