- 13 Feb, 2017 3 commits
-
-
Sasha Goldshtein authored
When the target process is missing the required USDT probes, it can be a simple mistake (e.g. attaching a script as Java to a Python process), or a runtime that is not instrumented with the required probes. Attempt to gracefully handle the error and print a helpful message instructing the user why the error might have occurred. ``` $ uthreads -l java $(pidof python) Error attaching USDT probes: the specified pid might not contain the given language's runtime, or the runtime was not built with the required USDT probes. Look for a configure flag similar to --with-dtrace or --enable-dtrace. To check which probes are present in the process, use the tplist tool. ```
-
4ast authored
u* tools: PHP support
-
4ast authored
ugc: Add -M for minimum time and -F for text filtering
-
- 10 Feb, 2017 5 commits
-
-
Brenden Blanco authored
Fix uobjnew and ustat on python3
-
Brenden Blanco authored
Debian jessie .deb build config and automated test fixes.
-
Rafael Fonseca authored
$ ./ustat File "./ustat", line 242 counts = sorted(counts.items(), key=lambda (_, v): ^ SyntaxError: invalid syntax
-
Rafael Fonseca authored
$ ./uobjnew File "./uobjnew", line 150 data = sorted(data.items(), key=lambda (k, v): v.num_allocs) ^ SyntaxError: invalid syntax
-
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 24 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()
-
Michael Przybylski authored
-
Michael Przybylski authored
-
Michael Przybylski authored
Minor debian/control file updates Added Debian - Source section to INSTALL.md
-
Michael Przybylski authored
On 30 April 2016 Vicent Marti modified src/lua/CMakeLists.txt to statically link libbcc into bcc-lua. This causes one of the tests in test/lua/test_standalone.sh to fail, and renders all of the tests related to libbcc.so obsolete.
-
Michael Przybylski authored
-
Michael Przybylski authored
-
Michael Przybylski authored
-
Brendan Gregg authored
-
- 08 Feb, 2017 6 commits
-
-
Sasha Goldshtein authored
Introduce PHP support to ucalls, uflow, and ustat. The PHP probes used are for function entry and exit, file compile (~ class load), and exception throw. This requires a PHP runtime built with the `--enable-dtrace` configure switch. Some probes also require USE_ZEND_DTRACE=1. Resolves #945.
-
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>
-
Sasha Goldshtein authored
Filter out collections that are shorter than x milliseconds by using `ugc -M x`. Display only collections that contain a certain string s in their description by using `ugc -F s`. The latter option is not implemented in the kernel, but rather just before printing the event in the user script (for simplicity), and documented as such.
-
4ast authored
bcc: add support for lpm trie map type
-
Huapeng Zhou authored
-
- 07 Feb, 2017 2 commits
-
-
Huapeng Zhou authored
-
Brenden Blanco authored
Update installation instructions for FC24 and FC25
-