- 18 Dec, 2017 1 commit
-
-
yonghong-song authored
histogram: support sorting bucket before dumping table
-
- 17 Dec, 2017 2 commits
-
-
yonghong-song authored
Improve trace.py formatting and printing options
-
htbegin authored
add a test case for bucket_sort_fn and show its use scenario as well
-
- 16 Dec, 2017 9 commits
-
-
Teng Qin authored
-
Teng Qin authored
-
4ast authored
add examples for including additional header files
-
4ast authored
Update for new bpf_perf_{event|prog}_read_value helpers
-
4ast authored
Clean-up unused parameter in tracing APIs
-
4ast authored
cmake3 on Ubuntu Trusty
-
Teng Qin authored
-
Teng Qin authored
-
Teng Qin authored
-
- 15 Dec, 2017 3 commits
-
-
Teng Qin authored
-
Teng Qin authored
-
Teng Qin authored
- Set `inherit = 1` only for per-task perf event. Inspired from change https://github.com/torvalds/linux/commit/81b9cf8028a17bdbdaa0da80b735b32150d4e89e - Kernel now support more events (see #1448). Also it's checked in `bpf_attach_perf_event` already. Remove the check from C++ API
-
- 14 Dec, 2017 5 commits
-
-
4ast authored
Add C++ helper to clear BPF tables
-
Teng Qin authored
-
Alexander Dudko authored
-
Yonghong Song authored
Fix issue #1478 Two tools, trace.py and argdist.py, and their corresponding example files were changed. Fixed a minor typo in one of trace.py error messages. Signed-off-by: Yonghong Song <yhs@fb.com>
-
Teng Qin authored
-
- 12 Dec, 2017 4 commits
-
-
4ast authored
add padding to the end of structure
-
Brendan Gregg authored
execsnoop: fix the prototype for kprobe__sys_execve
-
4ast authored
provide padded structure for table_{key|leaf}_desc API
-
Yonghong Song authored
Commit 538a84e1 ("provide padded structure for table_{key|leaf}_desc API") added explicit padding, if needed, before every structure member. This is not enough as if an array of elements are returned from C++ to python side, the size of structure must be correct. This patch also adds padding after the last structure field to make structure size in python side consistent with C++ side. With this patch, I experimented with the pull request for tcpretrans.py by Matthias Tafelmeier, the type struct ipv6_flow_key_t { unsigned __int128 saddr; unsigned __int128 daddr; u64 lport; u64 dport; } can be replaced with struct ipv6_flow_key_t { unsigned __int128 saddr; unsigned __int128 daddr; u16 lport; u16 dport; } where the original type of lport/dport is u16. Some other ipv6 related data structures can also be simplified. Signed-off-by: Yonghong Song <yhs@fb.com>
-
- 09 Dec, 2017 2 commits
-
-
htbegin authored
When there are multiple fields in the secondary key of a histogram (e.g. output the bio latency for each combination of disk and blk cgroup), if the buckets are not sorted before the iteration, the output order of tables often does not meet our expectations. So provide a way to sort them.
-
htbegin authored
For sys_execve() the type of filename parameter should be "const char __user *" instead of "struct filename *". The fix doesn't imply any functional change.
-
- 07 Dec, 2017 2 commits
-
-
yonghong-song authored
Do not print to stderr if user specified log buffer
-
Teng Qin authored
-
- 05 Dec, 2017 1 commit
-
-
Yonghong Song authored
This patch intends to fix issue #606. Currently, the key/value type information is passed from C++ to Python through a JSON interface. The JSON is constructed by traversing the struct/field's through clang AST interface. Once Python gets the JSON, it will reconstruct the C structure through ctype module. There are two known issues where Python reconstructed C structure may not be the same as the original C structure: . if user explicitly use "__attribute__ ((align))" to alter field alignment and such information is not passed to Python. . the "__int128" type is a u64[2] array in python. So in C, __int128 needs to align on 16 bytes boundary, and in Python, it aligns with 8 bytes boundary. To solve this issue, this patch provided the structure with added padding fields to Python. For example, struct { char a; __int128 b; }; Python will receive struct { char a; char __pad_1[15]; __int128 b; }; Signed-off-by: Yonghong Song <yhs@fb.com>
-
- 04 Dec, 2017 2 commits
-
-
4ast authored
sync compat headers with latest net-next
-
Yonghong Song authored
The same header is in torvalds/linux 4.15 rc2. Signed-off-by: Yonghong Song <yhs@fb.com>
-
- 30 Nov, 2017 2 commits
-
-
yonghong-song authored
Update INSTALL instructions for binary packages
-
Brenden Blanco authored
The old link to netperf is dead, but a copy exists in the iovisor repo (for the buildbots to use). Signed-off-by: Brenden Blanco <bblanco@gmail.com>
-
- 29 Nov, 2017 3 commits
-
-
Brenden Blanco authored
* Update the instructions to reflect recent package availability * Nightly/stable packages for Ubuntu Xenial+Artful * Nightly/stable packages for Fedora 26+27 * Remove references to Trusty as those are no longer being built * Remove references to Fedora 24 as those are no longer being built Signed-off-by: Brenden Blanco <bblanco@gmail.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@gmail.com>
-
Olivier Tilmans authored
Use ctypes.byref() instead of ctypes.pointer() in cases where we do not need the actual pointer object itself as it is much lighter.
-
- 27 Nov, 2017 3 commits
-
-
yonghong-song authored
python: make _decode_table_types aware of __int128
-
yonghong-song authored
Do not keep Loader instances around
-
Brendan Gregg authored
-
- 25 Nov, 2017 1 commit
-
-
yonghong-song authored
Fix 'test_libbcc' from failing in certain scenarios
-