summaryrefslogtreecommitdiff
path: root/usr.sbin/btrace/btrace.c
AgeCommit message (Expand)Author
2021-12-07Delete the last emulation callbacks: we're Just ELF, so declarePhilip Guenther
2021-11-12Implement the probe variable. Can be used for example withClaudio Jeker
2021-10-24Use unveil(2) for the possible script file, dt(4) and ksyms(4) nodes.Martin Pieuchot
2021-10-03bt(5)/btrace(8): add support for str()Dave Voutila
2021-09-21Add NUL termination to btfile content to avoid that strlcpy(3) readsAlexander Bluhm
2021-09-09fix crash when passing empty cli arguments as B_AT_NIL wasn't handled as a va...Jasper Lievisse Adriaanse
2021-09-09Let ba2str() handle unitialized map just like ba2long() does.Martin Pieuchot
2021-09-09Make it possible to associate multiple probes to a single rule.Martin Pieuchot
2021-09-09Handle new NIL type in ba_name().Martin Pieuchot
2021-09-09Do not treat empty map has invalid.Martin Pieuchot
2021-09-09Use a dynamic buffer to allow parsing scripts bigger than BUFSIZ.Martin Pieuchot
2021-09-09Make sure all map operators work after calling clear() on a map.Martin Pieuchot
2021-09-08btrace(8): add initial support for cli argumentsDave Voutila
2021-09-07Check that map/hist functions are called with the right argument.Martin Pieuchot
2021-09-03add kprobes provider for dtJasper Lievisse Adriaanse
2021-09-02rename struct dt_evt fields to make it clear this isn't only used for tracing...Jasper Lievisse Adriaanse
2021-09-01Handle the case where map/hist can be read after calling clear().Martin Pieuchot
2021-09-01Always print non-empty map & hist on exit even if there's an END rule.Martin Pieuchot
2021-09-01Support for insert pid/tid/cpu builtins in map/hist.Martin Pieuchot
2021-08-31Basic test, if (no else atm), support with a single statement.Martin Pieuchot
2021-08-31Support storing syscall arguments in a map/hist.Martin Pieuchot
2021-08-31Rewrite grammar to implement operator precedence without using %right or %prec.Martin Pieuchot
2021-08-30Implement '<' and '>' operators in filters.Martin Pieuchot
2021-06-28Also show the time spent in userland when analyzing the kernel stackAlexander Bluhm
2021-06-23btrace(8): init and update timespec for BEGIN/END eventdv
2021-06-07btrace(8): add "cpu" to long conversiondv
2021-04-22Remove support for in-kernel filters.Martin Pieuchot
2021-04-21remove -p from usage;Jason McIntyre
2021-04-21Extend filters to support any conditionnal test including global variables.Martin Pieuchot
2021-04-21Extend print() to support any kind of variable.Martin Pieuchot
2021-04-21Support first shell argument as $1 in order to use it in filters.Martin Pieuchot
2021-03-21Add -n (no action) mode, which just parses the program and exits.Jonathan Matthew
2021-02-08Extend binary operators support, required for more filter features.Martin Pieuchot
2021-02-01Start implementing conditionals for filters.Martin Pieuchot
2021-01-21Make it possible to convert map arguments to long and insert nsecs in maps.Martin Pieuchot
2020-12-07In btrace(8) handle snprintf(3) errors correctly. If snprintfAlexander Bluhm
2020-09-14add support for '&' and '|' operators in btrace scriptsJasper Lievisse Adriaanse
2020-09-11Support '-p' a flag to filter all actions by PID.Martin Pieuchot
2020-08-13Be compatible with bpftrace(8)'s output when printing stack traces in maps.Martin Pieuchot
2020-08-07Do not hardcode the key length.Martin Pieuchot
2020-07-11Implement linear and power-of-two histograms: hist() and lhist() keywords.Martin Pieuchot
2020-07-04Print the correct register for syscall return value.Martin Pieuchot
2020-06-18Apply rules to the number of events returned by the last read(2).Martin Pieuchot
2020-04-24Print given identifier in the error message when no matching probe exist.Martin Pieuchot
2020-04-23Implement builtin 'cpu' keyword.Martin Pieuchot
2020-04-23Extend map to support keys composed of multiple arguments.Martin Pieuchot
2020-04-23Make debug output less verbose.Martin Pieuchot
2020-04-15Make map functions accept a "struct map *" instead of a "struct bt_var *".Martin Pieuchot
2020-04-15Stop including <machine/param.h> and <machine/vmparam.h>.Martin Pieuchot
2020-03-27btrace(8): simplify builtin_nsecs(); ok mpi@cheloha