v0.9.2
Pre-release
Pre-release
[0.9.2] 2019-07-31
Highlights
- New environment variables (BPFTRACE_NO_USER_SYMBOLS, BPFTRACE_LOG_SIZE)
- New probe type: memory
watchpoint - Support for JSON output
All Changes
Added
- Add vargs support for cat() builtin (similar to system) (7f1aa7b) by Augusto Caringi <acaringi@redhat.com>
- Add memory watchpoint probe type (#790) (854cd4b) by Dan Xu <dxu@dxuuu.xyz>
- Add support for Go symbol names to uaddr (#805) (e6eb3dd) by Jason Keene <jasonkeene@gmail.com>
- add option for JSON output (5c6f20a) by Andreas Gerstmayr <andreas@gerstmayr.me>
- Add $# for number of positional arguments (ec8b61a) by Mark Drayton <mdrayton@gmail.com>
- Add BPFTRACE_NO_USER_SYMBOLS environment variable (#800) (41d2c9f) by Dan Xu <dxu@dxuuu.xyz>
- Add line numbers to parser error messages (a584752, 2233ea7) by bas smit <bas@baslab.org>
- Add new environment variable BPFTRACE_LOG_SIZE (2f7dc75, 7de1e84, 2f7dc75) by Ray Jenkins <ray.jenkins@segment.com>
Changed
- Terminate when map creation fails (6936ca6) by bas smit <bas@baslab.org>
- Print more descriptive error message on uprobe stat failure (0737ec8) by Dan Xu <dxu@dxuuu.xyz>
- Allow '#' in attach point path (2dfbc93) by Dan Xu <dxu@dxuuu.xyz>
- Disable
func,retvalandregfor tracepoints since tracepoints can't access this information (7bfc0f8) by bas smit <bas@baslab.org>
Fixed
- Skip keys which were removed during iteration on
print(bfd1c07) by Andreas Gerstmayr <agerstmayr@redhat.com> - Fix exiting prematurely on strace attach (a584752..0e97b2c) by Jay Kamat <jaygkamat@gmail.com>
- Fix unused variable warnings (9d07eb5) by Daniel Xu <dxu@dxuuu.xyz>
- Fix alignment issues on
ntop(2006424) by Matheus Marchini <mat@mmarchini.me> - Fix BEGIN being triggered multiple times when bpftrace is run a second time (14bc835) by bas smit <bas@baslab.org>
- Fix crash when using $0 (b41d66d) by Alastair Robertson <alastair@ajor.co.uk>
- Fix tcp tools printing errors (206b36c) by bas smit <bas@baslab.org>
Documentation
- Update Ubuntu install instructions (4e3ffc3) by Brendan Gregg <bgregg@netflix.com>
- Clarify help message for
-o(d6e9478) by Daniel Xu <dxu@dxuuu.xyz> opensnoop.btwas incorrectly linked to load.bt (d74fae0) by southpawflo <16946610+southpawflo@users.noreply.github.com>- Document multiple attach points for probes (21bc5bf) by Daniel Xu <dxu@dxuuu.xyz>
- Fix incorrect reference to the
probekey (83d473c) by Jeremy Baumont <jeremy.baumont@gmail.com>
Internal
- Fix failing test (086c018) by bas smit <bas@baslab.org>
- Collapse bcc symbol resolvers by process executable (63ff8b0) by Daniel Xu <dxu@dxuuu.xyz>
- Remove unneeded probe read (7d0aa99) by bas smit <bas@baslab.org>
- Fix runtime test parser to not break with commented out tests (#824) (b73c963) by Augusto Mecking Caringi <acaringi@redhat.com>
- bpftrace: optimize resolve_kname (#765) (ec5278d) by Matheus Marchini <mat@mmarchini.me>
- Resolve symbol names using bcc_elf_foreach_sym (#811) (a2d9298) by Jason Keene <jasonkeene@gmail.com>
- Add basic editorconfig for defining style (#775) (5b20829) by Jay Kamat <jaygkamat@gmail.com>
- Auto-generate list of includes for codegen tests (e3b8ecd) by Alastair Robertson <alastair@ajor.co.uk>
- Do not emit GEP instruction when pushing string literals to stack (#667) (e98530c) by Michał Gregorczyk <michalgr@users.noreply.github.com>
- tool style tweaks (8bb0940) by Brendan Gregg <bgregg@netflix.com>
- Clean up unused variable (#787) (8627e84) by Dan Xu <dxu@dxuuu.xyz>
- Make member variables end with underscores (c76a8e4) by Alastair Robertson <alastair@ajor.co.uk>
- Fail in case there's unresolved type in definitions (ecb7a1b, 2239756, a6a4fb3) by Jiri Olsa <jolsa@kernel.org>