- 01 Dec, 2015 1 commit
-
-
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 3 commits
-
-
Brenden Blanco authored
Fixes #285 - build process assumes git use
-
troyengel authored
-
troyengel authored
-
- 09 Nov, 2015 2 commits
-
-
Brenden Blanco authored
Add bpf() syscall feature check and readme update
-
Brenden Blanco authored
Fixes: #283 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 06 Nov, 2015 6 commits
-
-
yonghong-song authored
Add perf_output support for high rate events
-
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
Incoporating feedback from bgregg: Make per-cpu nature of output buffer be hidden and implicit. As such, incoporate some rewriting into the definition of the PERF_OUTPUT. Create two different macros to distinguish the perf_array (hardware counters) from the perf_output (ring buffer) use cases. Also, rename perf_output to perf_submit. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
This adds support for the bpf_perf_event_output command. This is intended for per-process events from bpf to userspace at high rate. The events from the bpf program can be completely customized. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 05 Nov, 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>
-
- 04 Nov, 2015 2 commits
-
-
yonghong-song authored
Reorganize examples into subdirectories
-
Brenden Blanco authored
Examples directory has been growing, so add a bit of organization. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 24 Oct, 2015 2 commits
-
-
4ast authored
Bump ulimit for locked memory in test wrapper
-
Brenden Blanco authored
This follows from a change in upstream kernel for counting bpf maps against the locked memory limit. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 23 Oct, 2015 2 commits
-
-
Brenden Blanco authored
Python: fix detach_kprobe()
-
Dr.Z authored
As open_kprobes contains not fd but pointer to struct perf_reader, it should call lib.perf_reader_free() instead of os.close()
-
- 21 Oct, 2015 2 commits
-
-
Brenden Blanco authored
perf_reader: allow more than one reader to poll
-
Dr.Z authored
When more than one events are used with attach_kprobe, the perf_reader_poll() will segfault by buffer overflow like below. *** buffer overflow detected ***: python terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7338f)[0x7fcc971fb38f] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fcc97292c9c] /lib/x86_64-linux-gnu/libc.so.6(+0x109b60)[0x7fcc97291b60] /lib/x86_64-linux-gnu/libc.so.6(+0x10ac04)[0x7fcc97292c04] /usr/lib/x86_64-linux-gnu/libbcc.so(perf_reader_poll+0x42)[0x7fcc93969cc2] /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call_unix64+0x4c)[0x7fcc95c2badc] /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call+0x1fc)[0x7fcc95c2b40c] /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(_ctypes_callproc+0x48e)[0x7fcc95e425fe] /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(+0x15f9e)[0x7fcc95e43f9e] python(PyEval_EvalFrameEx+0x965)[0x499be5] python(PyEval_EvalCodeEx+0x2ac)[0x4a090c] python(PyEval_EvalFrameEx+0x7d2)[0x499a52] python[0x4a1634] python(PyRun_FileExFlags+0x92)[0x44e4a5] python(PyRun_SimpleFileExFlags+0x2ee)[0x44ec9f] python(Py_Main+0xb5e)[0x44f904] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fcc971a9ec5] python[0x578c4e]
-