- 27 Sep, 2018 7 commits
-
-
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
-
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.
-
- 21 Sep, 2018 4 commits
-
-
Matheus Marchini authored
-
Brendan Gregg authored
usdt: resolve usdt arguments
-
Matheus Marchini authored
Now we can infer the path from current_attach_point_, which means we don't need to keep track of both references.
-
Matheus Marchini authored
This patch introduces initial support for USDT arguments through the argX builtins. For example: `./bpftrace -e 'usdt:bin:probe { printf("%s\n", str(arg0)); }'` Ref: https://github.com/iovisor/bpftrace/issues/33
-
- 19 Sep, 2018 2 commits
-
-
Brendan Gregg authored
fix attach to tracepoint regression
-
Matheus Marchini authored
Regression introduced by https://github.com/iovisor/bpftrace/pull/100. We can attach to multiple tracepoints within the same process without probem, which means we don't need to a suffix to it. Fixes: https://github.com/iovisor/bpftrace/issues/103
-
- 17 Sep, 2018 6 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
add system() call
-
williangaspar authored
-
williangaspar authored
-
williangaspar authored
-
- 16 Sep, 2018 1 commit
-
-