- 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 11 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
-
4ast authored
tcp to bpf_perf_output
-
Brendan Gregg authored
-
- 14 Feb, 2016 11 commits
-
-
4ast authored
Cosmetic changes: removed .py suffix, fixed link in README
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
4ast authored
Enhancements to argdist
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
4ast authored
mdflush
-
Sasha Goldshtein authored
Improved error messages for invalid probe syntax, added -I switch to add include files, fixed bug with labels -- now using # to indicate label
-
Brendan Gregg authored
-
- 13 Feb, 2016 5 commits
-
-
Sasha Goldshtein authored
-
Sasha Goldshtein authored
-
4ast authored
ext4 and xfs tools
-
Allan McAleavy authored
update local with changes from master
-
Brenden Blanco authored
migrated biosnoop and bashreadline to use bpf_perf_event_output
-