summaryrefslogtreecommitdiff
path: root/usr.sbin/btrace
AgeCommit message (Expand)Author
2021-11-15Change printing of maps to use qsort to order the output using a pointerClaudio Jeker
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-09Relax the check for accessing variable before setting them.Martin Pieuchot
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-08Revert a chunk committed by inadvertence in my last fix.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-07Return early if a parsing error has been found and do not perform anyMartin Pieuchot
2021-09-06we do not build binaries -g by defaultTheo de Raadt
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-01Imitate how free(3) behaves and make map_clear() works on NULL map.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-22Indent and simplify the grammar.Martin Pieuchot
2021-04-22Eliminate S/R conflicts and simplify filter grammar.Martin Pieuchot
2021-04-22Simplify token declaration.Martin Pieuchot
2021-04-22Simplify now that TID and PID are now only being parsed as builtin.Martin Pieuchot
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-21Always initialized min value for an histogram.Martin Pieuchot
2021-04-21typoMartin Pieuchot
2021-04-21Support for local (scratch) variables: "$var_name".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 to SYNOPSIS;Jason McIntyre
2021-03-21Add -n (no action) mode, which just parses the program and exits.Jonathan Matthew
2021-02-10cast large to reduce warning on 32-bit machines (an ELF type is printed with ...Theo de Raadt
2021-02-08Extend binary operators support, required for more filter features.Martin Pieuchot
2021-02-01Start implementing conditionals for filters.Martin Pieuchot
2021-01-27commons used rather than externs, fix for -fno-commonTheo de Raadt
2021-01-21Make it possible to convert map arguments to long and insert nsecs in maps.Martin Pieuchot