- 20 Apr, 2016 3 commits
-
-
Vicent Marti authored
The following APIs have been implemented inside `libbcc`, which programatically replicate the previous usage of `binutils` tools like `objdump` and `elfdump`. - bcc_elf_foreach_usdt: finds all USDT probes inside a given binary - bcc_elf_loadadddr: find the load address for a shared object - bcc_elf_foreach_sym: lists all symbols in an ELF binary or SO - bcc_elf_shared_obj: returns whether a given path is an ELF shared object, a binary, or neither
-
Vicent Marti authored
Add a new a `FindLibElf.cmake` package, and use it to link the main `libbcc` library against the system's LibELF. This library will be used to re-implement functionality that was previously dependent on `binutils`.
-
Vicent Marti authored
Instead of importing the `Find*.cmake` modules directly, place them in the root `cmake/` folder and define it as a CMake Module path. This lets us use the `find_package` builtin to require any given packages.
-
- 19 Apr, 2016 7 commits
-
-
4ast authored
Add infra and ctest for code style formatting
-
Brenden Blanco authored
Add an initial .clang-format file, based on LLVM's style base. Inform the style-check wrapper to only consider h, c, and cc files when it runs, and print out the --verbose output upon failure.
-
Brenden Blanco authored
When user touches a file, that file will be fed to `git clang-format`, and if the tool reports a new diff it will consider the test failed. The files to check will be anything in the current workspace compared to origin/master.
-
Brenden Blanco authored
-
Brenden Blanco authored
-
4ast authored
Update INSTALL.md with Xenial instructions
-
Brenden Blanco authored
The buildbot is now building nightly ubuntu 16.04 packages. Include the steps to install.
-
- 18 Apr, 2016 2 commits
-
-
4ast authored
Let bcc debian build depend on 3.7|3.8
-
Brenden Blanco authored
In Xenial, llvm 3.8 will be available upstream without manual apt steps. Add those packages as a possible dependency in our build.
-
- 17 Apr, 2016 3 commits
-
-
Brenden Blanco authored
Don't require "OS ABI" specification in libraries
-
4ast authored
lua: Properly support high-range 64 addresses
-
Brenden Blanco authored
Install all required packages on ubuntu
-
- 16 Apr, 2016 1 commit
-
-
Aaron Puchert authored
The most important system libraries are listed like this by ldconfig: libc.so.6 (libc6,x86-64, OS ABI: Linux 3.0.0) => /lib64/libc.so.6 But most user-level libraries don't have the "OS ABI" and will not be found by the regular expression. libz.so (libc6,x86-64) => /usr/lib64/libz.so This makes the regular expression more permissive, so that it finds those libraries as well.
-
- 15 Apr, 2016 1 commit
-
-
Vicent Marti authored
Lua's native Number type is a 64-bit double with 52-bit precision, which was causing rounding errors when storing and working with high-range memory addresses (namely, addresses from the kernel, which are all in the `0xffffffff........` range). To work around this, we've made sure to never call `tonumber` on any variables that represent memory addresses, and instead continue operating on them with their native types: LuaJIT can work with the underlying `uint64_t` type for these values and transparently perform all kinds of numeric operations. The only limitation of working with native 64-bit types in LuaJIT is that they cannot be printed with the language's default `string.format` API. To give better UX to probe writers, these APIs have been monkeypatched so the `%p` format specifier will now properly handle 64-bit addresses and print them in an appropriate format.
-
- 14 Apr, 2016 1 commit
-
-
Ivan Babrou authored
-
- 11 Apr, 2016 2 commits
- 10 Apr, 2016 5 commits
-
-
Mark Drayton authored
-
Brenden Blanco authored
-
Brenden Blanco authored
I didn't actually track this one down, but was getting some errors coming out of kernel header files when perf_events.h was included first. Move it after some std headers that mask the issue.
-
Brenden Blanco authored
BPF programs aren't allowed to attach to these functions since deadlocks may occur, thus the test would fail since no stack is collected. Use update_elem to test instead.
-
Brenden Blanco authored
The way to do exception printing in python2/3 compatible way is using sys.exc_info()[0/1].
-
- 09 Apr, 2016 2 commits
-
-
4ast authored
bcc-lua: switch to quiet by default
-
Alexei Starovoitov authored
use --verbose to turn verbose output Signed-off-by: Alexei Starovoitov <ast@fb.com>
-
- 06 Apr, 2016 6 commits
-
-
Brenden Blanco authored
Fixed tcpv4connect.py broken link on README
-
Eduardo Urias authored
-
Brenden Blanco authored
Fix for find_symbol method, issue #478
-
Luca Canali authored
-
Luca Canali authored
-
Brenden Blanco authored
Add support for nixos
-
- 05 Apr, 2016 4 commits
-
-
Ragnar Dahlén authored
Add support for systems using a non-default ("/lib/modules") kernel lib directory.
-
Ragnar Dahlén authored
-
4ast authored
migrated gethostlatency to use bpf_perf_event
-
Brenden Blanco authored
Standalone Lua tracing tool
-
- 04 Apr, 2016 3 commits
-
-
Vicent Marti authored
-
Vicent Marti authored
-
Vicent Marti authored
-