- 19 Jan, 2016 2 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
- 18 Jan, 2016 2 commits
-
-
4ast authored
Close fd and unshare when public map is destructed
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 16 Jan, 2016 2 commits
-
-
4ast authored
stack walking scripts
-
Brendan Gregg authored
-
- 14 Jan, 2016 2 commits
-
-
Brenden Blanco authored
fix pep8 lint errors in the rest of the tools
-
Alexei Starovoitov authored
no functional changes Signed-off-by: Alexei Starovoitov <ast@fb.com>
-
- 10 Jan, 2016 1 commit
-
-
Brenden Blanco authored
fix pep8 lint errors in biolatency and biosnoop
-
- 09 Jan, 2016 1 commit
-
-
Alexei Starovoitov authored
Signed-off-by: Alexei Starovoitov <ast@fb.com>
-
- 08 Jan, 2016 3 commits
-
-
4ast authored
Add ability to export maps, enables cross-program sharing
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Allow a program to export a map for other programs to use. This enables cross-program map sharing. parent program syntax: BPF_TABLE("array", int, int, shared, 10); BPF_TABLE_EXPORT(shared); child program syntax: BPF_TABLE("extern", int, int, shared, 10); Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 06 Jan, 2016 2 commits
-
-
4ast authored
Add ability to set custom cflags when loading programs
-
Brenden Blanco authored
Example: b = bcc.BPF("myprog.c", cflags=["-DMYCUSTOMFLAG1", ...]) Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 04 Jan, 2016 2 commits
-
-
4ast authored
Remove runtime dependency on gcc stdarg headers and make
-
Brenden Blanco authored
Remove the runtime dependency on gcc's stdarg.h. Do this by packaging the (non-GPL) version shipped with clang. This allows the bulk of kbuild_helper to be removed, at the expense of hardcoding the kernel include paths. If in the future the kernel make system changes again to require different -I paths, we'll have to think this through again. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 01 Jan, 2016 2 commits
-
-
Brenden Blanco authored
add new Arch packages, new TOC and spiffy up the formatting
-
troyengel authored
-
- 10 Dec, 2015 2 commits
-
-
Brenden Blanco authored
Drop broken p4/docs symlink and create README.md+URL
-
Brenden Blanco authored
There was a symlink to a local file, which would instead work better as a URL to the bpf-docs repository. Fixes: #304 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 07 Dec, 2015 2 commits
-
-
4ast authored
Improve json type support for misc struct/union types
-
Brenden Blanco authored
The ability of the clang rewriter to extract the type information for some types of structs, unions, and pointers to the aforementioned was somewhat buggy. This became exposed in a test_clang case after a user upgraded to a newer kernel, wherein the struct definition changed. The functionality in question is only used to pass json-ified representation of the struct to python in order to program the Key/Leaf metaclass. Improve support for this and other types, including unions. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 03 Dec, 2015 4 commits
-
-
Brenden Blanco authored
make sure LDFLAGS are propagated as well
-
Alexei Starovoitov authored
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
-
4ast authored
Fix breakage from LLVM 3.8 API change
-
Brenden Blanco authored
There is some difference in how to take a pointer from an iterator. This code should work for both 3.7 and 3.8 APIs. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 01 Dec, 2015 4 commits
-
-
Brenden Blanco authored
p4: fixed bugs in control-flow generation
-
Brenden Blanco authored
Honor the external C/CXX FLAGS
-
Gary Lin authored
Signed-off-by: Gary Lin <glin@suse.com>
-
Mihai Budiu authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 30 Nov, 2015 6 commits
-
-
Brenden Blanco authored
Automatically bump memlock ulimit
-
Brenden Blanco authored
Instead of requiring the user to bump the ulimit in their shell before starting a bcc script, try to setrlimit automatically when a failure occurs. Since there is no getrusage for memlock limit, unfortunately we have to brute force setting the limit. For now, just try bpf() once and then try to set unlimited ulimit, then try bpf() again. Fixes: #281 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Fixup dependencies of bcc-tools package
-
Brenden Blanco authored
This should depend on python-bcc, which itself depends on libbcc. Fixes: #291 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Add bcc-tools package
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 27 Nov, 2015 1 commit
-
-
Brenden Blanco authored
Ticket: #291 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 18 Nov, 2015 2 commits
-
-
Brenden Blanco authored
Fixup broken symlink tests/cc/simulation.py
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-