- 19 Feb, 2016 11 commits
-
-
Brendan Gregg authored
syncsnoop migrated to use bpf_perf_events
-
Allan McAleavy authored
-
mcaleavya authored
-
mcaleavya authored
-
mcaleavya authored
-
Brendan Gregg authored
Migrated filelife to bpf_perf_event
-
mcaleavya authored
-
4ast authored
http_filter readme fixed
-
Bertrone Matteo authored
-
Bertrone Matteo authored
-
Bertrone Matteo authored
-
- 18 Feb, 2016 7 commits
-
-
Brenden Blanco authored
migration of statsnoop to use bpf_perf_event
-
Brendan Gregg authored
Fix syntax error in bpf_get_prandom_u32
-
mcaleavya authored
-
Brenden Blanco authored
Fixes: #398 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Bertrone Matteo authored
-
4ast authored
Embed runtime header files in libbcc.so
-
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>
-
- 17 Feb, 2016 5 commits
-
-
mcaleavya authored
-
-
4ast authored
Fix breakage in open_perf_buffer
-
Brenden Blanco authored
The previous commit for splitting table.py into a separate file lost some required imports. Add those back. In addition, add a test for open_perf_buffer, and take out the compile-time check in libbpf.c for this feature. I couldn't think of a good way to fix the PERF_COUNT_SW_BPF_OUTPUT literal, so for now left it as a comment. A #define wouldn't work since the eventual value comes from an enum (no #ifndef/#define/#endif pattern). Fixes: #391 #363 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Cleanup tables classes in bcc python module
-
- 16 Feb, 2016 8 commits
-
-
Brenden Blanco authored
Improve the indexing in the Array class to be more like native python list/array types. No need to use `t[c_int(0)]`, instead `t[0]` is sufficient, for instance. Add tests for the above. Relies on a new bpf_module function for exposing the max_entries property of a table in order to range-check the indices. In one case, array was using a struct key type. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
BPFTable contained all of the logic for multiple table types, which is incorrect since a bpf table has either hash or array behavior. Additionally, some methods on the classes aren't valid for some table types. Create HashTable, Array, ProgArray, and PerfEventArray classes to contain this behavior. In future, the new Array class and its children should behave more like an array than a dict as it currently does. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
The subclasses and some of the imports inside __init__.py were getting overly large, so start to split some of the functionality into different files. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
fix couple of minor typos
-
4ast authored
2 tools: btrfsdist, btrfsslower
-
Brendan Gregg authored
-
Brendan Gregg authored
-
4ast authored
inline C in /tools
-
- 15 Feb, 2016 9 commits
-
-
Brendan Gregg authored
-
Manuel Mendez authored
-
4ast authored
3 tools: tcpretrans, zfsslower, zfsdist
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-