- 07 Oct, 2018 3 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Alastair Robertson authored
To get full arguments to pass into Clang for reading kernel headers
-
- 04 Oct, 2018 1 commit
-
-
Brendan Gregg authored
-
- 01 Oct, 2018 3 commits
-
-
Brendan Gregg authored
cmake: rename gtest external project target
-
Brenden Blanco authored
This avoids a conflict in some environments (Arch Linux) Fixes: #135 Signed-off-by: Brenden Blanco <bblanco@gmail.com>
-
Brendan Gregg authored
update more tools to use args
-
- 30 Sep, 2018 4 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
Tracepoint adjust integer types
-
Alastair Robertson authored
-
Alastair Robertson authored
-
- 27 Sep, 2018 9 commits
-
-
Brendan Gregg authored
promote scalar printf args to 64-bits
-
Alastair Robertson authored
freeze googletest version
-
Matheus Marchini authored
We have googletest as a dependency for our tests. This dependency is defined by cmake and fetched when we run make, but we were always fetching master, which means if there is a breaking change upstream our build will break without notice (which happened recently). To avoid this, we freeze the googletest version to the last stable, and once there's a new googletest release we can upgrade it here (making changes to our code if necessary). Fixes: https://github.com/iovisor/bpftrace/issues/122
-
Matheus Marchini authored
Due to BPF stack alignment restrictions, LLVM might change the size used to stored printf arguments in the stack, resulting in alignment issues when formatting and outputting those arguments. To avoid this issue, we promote every non-array argument to 64-bits, assuring the size used to store the argument is the same used to dereference it later when calling printf. Fixes: https://github.com/iovisor/bpftrace/issues/47
-
Brendan Gregg authored
add make install target
-
Brendan Gregg authored
enforce infinite rlimit to avoid problems when allocating maps
-
Brendan Gregg authored
update tutorial with tracepoint args
-
Matheus Marchini authored
Destination can be set through the CMAKE_INSTALL_PREFIX variable when running cmake (for example, `-DCMAKE_INSTALL_PREFIX=/usr/local`). Files are installed as described below: - `build/src/bpftrace` -> `${CMAKE_INSTALL_PREFIX}/sbin` - `tools/*` -> `${CMAKE_INSTALL_PREFIX}/share/bpftrace/tools` - `man/*` -> `${CMAKE_INSTALL_PREFIX}/man`
-
Matheus Marchini authored
Fixes: https://github.com/iovisor/bpftrace/issues/16
-
- 26 Sep, 2018 7 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
allow u32 binops and map keys
-
Brendan Gregg authored
switch some tools to use args
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
Tracepoint format parser
-
Alastair Robertson authored
Adds a new builtin "args", which acts as a pointer to the tracepoint arguments struct when inside tracepoint probes.
-
- 24 Sep, 2018 4 commits
-
-
Brendan Gregg authored
fix string comparison
-
Matheus Marchini authored
This patch fixes strcmp by reimplementing it as a IRBuilder method and unrolling the loop based on the literal string size instead of STRING_SIZE. Fixes: https://github.com/iovisor/bpftrace/issues/14
-
Brendan Gregg authored
truncate zero range on hist
-
Matheus Marchini authored
-
- 23 Sep, 2018 9 commits
-
-
Brendan Gregg authored
fix BEGIN / END probes
-
Brendan Gregg authored
add .gitignore
-
Brendan Gregg authored
add verbose debug output with -dd
-
Brendan Gregg authored
Docs
-
Brendan Gregg authored
update usdt with arguments examples
-
Matheus Marchini authored
BEGIN/END probes were broken after https://github.com/iovisor/bpftrace/pull/100.
-
Matheus Marchini authored
Fixes: https://github.com/iovisor/bpftrace/issues/51
-
Matheus Marchini authored
Ignore common build directories. Useful to navigate the code base with tools taking .gitignore into account.
-
Matheus Marchini authored
LLVM optimizes IR before turning it into BPF instructions. Sometimes the optimization might cut off important code if the IR was not built correctly. -d is not enough to find these issues, therefore this patch introduces more debug levels to also print the raw IR before it gets optimized.
-