- 27 May, 2015 6 commits
-
-
4ast authored
Fix for LLVM C++ api change
-
Brenden Blanco authored
* IRBuilder::CreateCallN was deprecated, use the vector based mechanism for passing args instead Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Address comments and add tail_call example
-
Brenden Blanco authored
* Cleanup some api names and definitions * Add <table>.call() in C api, which maps to bpf_tail_call Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Address some of Issue #16
-
Brenden Blanco authored
* Introduce Function object in bpf.py - prog load types (kprobe, socket, etc.) are independent - fd is a member of each function, to be used later (e.g. tail call table) * Allow functions to be defined inline in the .py as a text argument * Rename BPFProgram to BPFModule, which should make more sense Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 26 May, 2015 2 commits
-
-
4ast authored
Add clang support to bcc
-
Brenden Blanco authored
* Frontend options: b and modified c languages * Tests written for both languages * Automatic kbuild integration * Some cleanups and files moved Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 11 May, 2015 3 commits
-
-
Brenden authored
fix a typo
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Use clang as a lib to parse the helper file live
-
- 10 May, 2015 1 commit
-
-
Brenden Blanco authored
* Add clang as a library to the .so...this adds about 16M of stuff * Compute the build flags for clang from the current kernel's header build tree. It generates a makefile on the fly and caches the minimal flags as an output. * Followup to this would be to migrate bitops.c to be #include'd as well as the proto.d/kprobe.d stuff. * For now, requires clang to be installed in /opt/local/llvm...see cmake files to override this. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 07 May, 2015 2 commits
-
-
Brenden authored
Fix for Issue #8, pkt.rewrite_field
-
Brenden Blanco authored
* This was unintentionally removed in the last cleanup, adding it back. * Also adding support for $ip.dst = XXX style syntax * This is an ugly commit, please bear with it until I figure out the structure of the language, especially w.r.t. proto:: type fields. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 06 May, 2015 2 commits
-
-
4ast authored
Reduce strength of clang requirement to 3.0
-
Brenden Blanco authored
* All that is required is that clang binary IR is compatible with llvm 3.7. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 05 May, 2015 2 commits
-
-
Brenden authored
fix build with bison 2.5
-
Alexei Starovoitov authored
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
-
- 04 May, 2015 1 commit
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 03 May, 2015 2 commits
-
-
Brenden Blanco authored
* Add Getting Started section in README.md * Add a virt-install script which creates a BPF-capable Fedora 21 VM * Fix a test that was failing on F21 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden authored
-
- 02 May, 2015 1 commit
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 26 Apr, 2015 1 commit
-
-
Brenden Blanco authored
llvm-jit based parser and loader
-