- 10 Feb, 2017 1 commit
-
-
Rafael Fonseca authored
This fixes a TypeError in python 3, e.g, when executing uobjnew Traceback (most recent call last): File "./uobjnew", line 134, in <module> bpf = BPF(text=program, usdt_contexts=[usdt]) File "/usr/lib/python3.5/site-packages/bcc/__init__.py", line 224, in __init__ text = usdt_text + text TypeError: can't concat bytes to str
-
- 09 Feb, 2017 17 commits
-
-
4ast authored
Use fast compression in test deb builds
-
Brenden Blanco authored
Builds on GCE/ubuntu image were taking a long time due to combination of disk speed/single core, and the default dpkg-deb compression level (-z9). The dpkg-deb alone step was taking up to 5 minutes. Reduce to ~1 minute by forcing -z1. Unfortunately, it was not obvious how to capture the option in debuild command, so this is a bit hacky. Signed-off-by:
Brenden Blanco <bblanco@gmail.com>
-
4ast authored
Fixes for LLVM4+, python3
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@gmail.com>
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@gmail.com>
-
Brenden Blanco authored
In python3, output needs to be converted from ascii to str before the "error_msg in str" test will succeed. This change should be backwards compatible with python2. Signed-off-by:
Brenden Blanco <bblanco@gmail.com>
-
Brenden Blanco authored
Diff generated by clang-format Signed-off-by:
Brenden Blanco <bblanco@gmail.com>
-
Brenden Blanco authored
Recent llvm changed the calling convention of setInvocation, breaking 3.9/4.0 compatibility. This new approach works for both. Signed-off-by:
Brenden Blanco <bblanco@gmail.com>
-
Brenden Blanco authored
Without marking as nounwind, recent llvm started generating .eh_frame section, which is invalid for bpf target jit. Signed-off-by:
Brenden Blanco <bblanco@gmail.com>
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@gmail.com>
-
Brenden Blanco authored
Use PID to resolve path of target libraries
-
Brenden Blanco authored
trace: fix for python3
-
Brenden Blanco authored
snapcraft: add in some missing tools from the snapcraft apps list
-
4ast authored
tplist: don't fail if no verbosity is supplied
-
Brenden Blanco authored
update tools pic
-
Rafael Fonseca authored
Initialise the verbosity argument to 0, so that when no verbosity is provided we don't fail with $ tplist kvmmmu:kvm_mmu_pagetable_walk unorderable types: NoneType() > int()
-
Brendan Gregg authored
-
- 08 Feb, 2017 4 commits
-
-
Rafael Fonseca authored
xrange does not exist in py3.
-
Colin Ian King authored
Add in capable, deadlock-detector, llcstat, mountsnoop, profile, runqlen, solisten, tplist, ucalls, uflow, ugc, uobjnew, ustat and uthreads. Includes some re-ordering as well. Signed-off-by:
Colin Ian King <colin.king@canonical.com>
-
4ast authored
bcc: add support for lpm trie map type
-
Huapeng Zhou authored
-
- 07 Feb, 2017 8 commits
-
-
Huapeng Zhou authored
-
Brenden Blanco authored
Update installation instructions for FC24 and FC25
-
4ast authored
docs/kernel-versions: add reference to powerpc64 constant blinding support
-
Naveen N. Rao authored
... introduced in v4.9 Signed-off-by:
Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
-
Sasha Goldshtein authored
It turns out that for FC24 and FC25, there is a sufficiently recent version of Clang in the official package sources, so we don't need to fetch it from llvm.org using wget. Tested manually on a pair of fresh FC24 and FC25 VMs, and confirmed that BCC builds and runs OK.
-
4ast authored
tools: add tool to detect potential deadlocks in running programs
-
4ast authored
switch bcc to use single instance per bcc process, fixed issue #940
-
Derek authored
instance dir is bcc_pid, fixed issue #940
-
- 06 Feb, 2017 3 commits
-
-
Kenny Yu authored
-
4ast authored
docs: fix "BPF attached to sockets" commit link
-
Edward Shao authored
-
- 05 Feb, 2017 2 commits
- 04 Feb, 2017 1 commit
-
-
https://github.com/iovisor/bcc/pull/936Kenny Yu authored
- Specify when `--binary` is needed (statically vs dynamically-linked binaries). - Make `-h`, `_examples.txt`, and man page have concrete examples and be more user-friendly.
-
- 03 Feb, 2017 4 commits
-
-
Kenny Yu authored
-
Kenny Yu authored
-
https://github.com/iovisor/bcc/pull/936Kenny Yu authored
- Remove dependency on networkx. I did this by copying only the parts I needed from networkx, and adapting it to only use what I needed. These include: `DiGraph`, `strongly_connected_components`, `simple_cyles` - Symbolize global and static mutexes. In order to do this, I subshell out to `subshell`. This isn't very efficient, but this only happens at the end of the program if a deadlock is found, so it's not too bad. - `--verbose` mode to print graph statistics - Make `--binary` flag optional. Not needed by default, However, this is needed on kernels without this recent kernel patch (https://lkml.org/lkml/2017/1/13/585, submitted 2 weeks ago): we can't attach a uprobe on a binary that has `:` in the path name. Instead, we can create a symlink without `:` in the path and pass that to the `--binary` argument instead.
-
Jesper Dangaard Brouer authored
Kernel v4.6-rc1~91^2~108^2~6 commit 6c9059817432 ("bpf: pre-allocate hash map elements") Introduced default preallocation of mem elements to solve a deadlock (when kprobe'ing the memory allocator itself). This change is also a performance enhancement. The commit also introduced a map_flags on BPF_MAP_CREATE, which can disable this preallocation again BPF_F_NO_PREALLOC. Signed-off-by:
Jesper Dangaard Brouer <brouer@redhat.com>
-