- 05 Aug, 2016 2 commits
-
-
Teng Qin authored
-
Brenden Blanco authored
Based on the bug report in https://bugs.gentoo.org/show_bug.cgi?id=582770, mixing static+non-static libstdc++ can lead to crashes. Disable such combinations. Choosing to leave out the llvm check, since in practice clang is less likely to be provided statically, so the check should cover both cases. Fixes: #633 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 03 Aug, 2016 1 commit
-
-
Brendan Gregg authored
-
- 02 Aug, 2016 3 commits
-
-
Brenden Blanco authored
Update readme with dns name and https for repo server
-
Brenden Blanco authored
We enabled dns for the repo and builtbot, and then turned on letsencrypt for those as well. Yay, now we look slightly more official. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* add open_perf_event api for reading perf counters Though the rewriter table method existed, we were not yet opening up the perf counter in the proper way for it to be read. Introduce a c function to enable attaching perf counters to cpu-indexed table slots. The python side opens, assigns, then immediately closes the fd. Only the kernel keeps a reference, so closing the table or deleting the entry will be sufficient to free up the fd when finished. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com> * Skip perf array hw counter test if unsupported Hardware counters are not available in all places (some VM environments), so gracefully skip on the particular error condition. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 01 Aug, 2016 5 commits
-
-
Brendan Gregg authored
* MySQL USDT example and tool * add nodejs example output * add reference to mysqld example
-
Brendan Gregg authored
tutorial: add missing return in hello_world example
-
Igor Sugak authored
-
Brendan Gregg authored
Fix typo in the reference guide
-
Gary Lin authored
-
- 31 Jul, 2016 3 commits
-
-
Teng Qin authored
Recent USDT change removed `procstat.py`, which the `argdist` and `trace` tools are still referencing. This diff moves the only method (`which`) they are using into the `BPF` class. Also, make `BPF.find_library` not to call `decode()` on `None`.
-
Teng Qin authored
Added a field `demangle_name` in the `bcc_symbol` struct. Calculate its value whenever possible. For C++ programs, this would make outputted stack traces look nicer. Example: http://pastebin.com/LqT0nP67
-
Mark Drayton authored
-
- 29 Jul, 2016 4 commits
-
-
chantra authored
The current logic was only initializing page accesses, mark dirty.. at the beginning of the method, preventing counters to be ever reset for each PIDs. Piggyback https://github.com/iovisor/bcc/pull/615#discussion_r71056842 Tested by running both tools manually.
-
Brendan Gregg authored
fix reference_guide.md bpf_get_current_comm search
-
Junli Ou authored
-
Brenden Blanco authored
Add xdp_drop_count example
-
- 28 Jul, 2016 4 commits
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
This adds the xdp drop count example relicensed under ASL2, along with some minor modifications to print pkt/s. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Added XDP support to BCC
-
Jan Rüth authored
Concretely, it adds two functions to bcc, namely: `attach_xdp` and `remove_xdp` which allows to attach an XDP program to a device (given via its name, e.g., en0) (in the future this might change to a specific queue on a device once the kernel offers this interface) and `remove_xdp` removes a XDP program from a device. Please note that there can currently be only one program attached to the device and attaching another program replaces the previous. One example is available to test XDP, in networking/xdp which drops all packets an counts for which protocol a packet was dropped (this is taken from the kernel xdp1 example). Please note that you cannot use the network headers defined in <bcc/proto.h> as they cause llvm/clang to generate instructions not available on XDP layer. On XDP layer you do not have an skb yet, so you are operating on the bare packet data. XDP support is currently limited to only some network adapters, there is the `mlx4` and there is also a patch available for the `e1000` driver.
-
- 27 Jul, 2016 5 commits
-
-
Brenden Blanco authored
Probe registration fixes
-
Mark Drayton authored
`open_kprobes` is a dict of open kprobes. Its keys are strings for normal probes and a tuple for perf buffers. Normal probes need unregistering on script exit; perf buffers do not. `cleanup` currently looks for string keys (specifically type `str`) when working out what to unregister, which is a bit brittle -- in Python2 strings can be both native `str` and `unicode`, depending what exactly was passed to `attach-*/detach_*` and whether `from __future__ import unicode_literals` is used (e.g. #623). This diff makes the API more relaxed by casting the probe name to `str` to match the expectations of `cleanup`. This works in py2 (with and without unicode_literals) and py3.
-
Mark Drayton authored
* rework `_get_kprobe_functions` to avoid unclosed blacklist warning * rework `cleanup` to avoid changing size of dict while iterating * make handling return of `bpf_function_name` work in py2 and py3
-
Brenden Blanco authored
[cachetop] Display sorting field and order.
-
Brenden Blanco authored
add a reference guide
-
- 26 Jul, 2016 5 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brenden Blanco authored
tutorials: end-user, and python developer
-
chantra authored
This will make it easier to visualize what is the sorting field and order
-
- 25 Jul, 2016 5 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brenden Blanco authored
merge most .c and .py examples
-
- 24 Jul, 2016 3 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-