summaryrefslogtreecommitdiff
path: root/usr.sbin/btrace
AgeCommit message (Expand)Author
2022-06-02Let btrace(8) execute the END probe upon receiving a SIGTERM signalJeremie Courreges-Anglas
2022-05-01Install useful btrace scripts into /usr/share/btrace directory.Alexander Bluhm
2022-04-30add support for printing some extra large numbers to histogramsTed Unangst
2022-04-28btrace(8): fix lexer to allow whitespace after filters.Dave Voutila
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2022-02-22Since other exported commandnames were increased to 24 and graduated intoTheo de Raadt
2021-12-07Delete the last emulation callbacks: we're Just ELF, so declarePhilip Guenther
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