- 08 Jan, 2016 2 commits
-
-
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>
-
- 17 Nov, 2015 2 commits
-
-
Brenden Blanco authored
added P4 deparser synthesis
-
Brenden Blanco authored
-
- 16 Nov, 2015 3 commits
-
-
Brenden Blanco authored
Updates to INSTALL.md for readability and ease of use
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
A stable 4.3 kernel is available, suggest users use that version instead. Move LLVM build instructions to the end, prefer that they pull llvm binaries instead. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 13 Nov, 2015 1 commit
-
-
Brenden Blanco authored
Fix unary operator handling of probe reads with parens
-
- 12 Nov, 2015 2 commits
-
-
Brenden Blanco authored
Testing for bpf_probe_read should not include parenethes when walking the tree, since the inner operation will have already been rewritten. Fixes: #289 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Edit README, link path of some example files
-
- 11 Nov, 2015 1 commit
-
-
Dr.Z authored
As some example files were reorganized into subdirecotries, some pathes in README bring connection on 404. So it have to be new pathes.
-
- 10 Nov, 2015 2 commits
-
-
Brenden Blanco authored
Fixes #285 - build process assumes git use
-
troyengel authored
-