An error occurred fetching the project authors.
- 02 May, 2016 1 commit
-
-
Naveen N. Rao authored
Basic support for building on powerpc. Tested on ppc64le. Signed-off-by:
Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
-
- 31 Mar, 2016 1 commit
-
-
Alexei Starovoitov authored
version checks don't work at all on kernels with backported bpf bits they also fail when /usr/include/linux/bpf.h doesn't match loaded kernel. Fix these issues by embedding bpf.h into libbcc.so and force load it in clang, so we can remove all version checks and rely on verifier complaining on unknown function call. Later patch can make verifier errors less cryptic by converting 'unknown call 12' to strings. while at it update bpf.h to the latest. Signed-off-by:
Alexei Starovoitov <ast@fb.com>
-
- 29 Mar, 2016 1 commit
-
-
Jean-Tiare Le Bigot authored
-
- 08 Mar, 2016 2 commits
-
-
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>
-
- 18 Feb, 2016 1 commit
-
-
Brenden Blanco authored
To avoid installing header files needed by clang to disk (/usr/share/bcc), embed the files as strings inside the library and feed them to clang as memory buffers. The mechanism that we use to do this retains all of the existing features, as in one can still do `#include <bcc/helpers.h>`, even though it is redundant, and clang will pick up the embedded file. Fixes: #333 Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 06 Jan, 2016 1 commit
-
-
Brenden Blanco authored
Example: b = bcc.BPF("myprog.c", cflags=["-DMYCUSTOMFLAG1", ...]) Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 04 Jan, 2016 1 commit
-
-
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>
-
- 11 Sep, 2015 1 commit
-
-
Brenden Blanco authored
This adds the command line arguments of clang to debug flag 0x4 in the clang frontend. Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 09 Sep, 2015 1 commit
-
-
Brenden Blanco authored
* Many times it is useful to print out the C file after the BFrontendAction has run. e.g.: BPF("file.c", debug=0x4) Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 08 Aug, 2015 1 commit
-
-
Brenden Blanco authored
It was bothering me that a whole bunch of accesses to the tables were based on a string hash lookup, in addition to the vectors that were kept to convert ids to names. Switch those around, as well as the api internally. Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 07 Aug, 2015 1 commit
-
-
Brenden Blanco authored
This whole project is about bpf, prefixing everything with the same acronym is redundant. Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 03 Aug, 2015 2 commits
-
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-