summaryrefslogtreecommitdiff
path: root/usr.sbin/btrace/btrace.c
AgeCommit message (Expand)Author
8 daysGenerate a single event when timers advance for more than one tick.Martin Pieuchot
2024-07-09Read the whole buffer, not its size minus one.Martin Pieuchot
2024-05-21remove prototypes with no matching function and externs with no varJonathan Gray
2024-03-30Implement else branching logic including 'else if'.Martin Pieuchot
2024-02-27Make it possible to check for existing string in maps.Martin Pieuchot
2024-02-24Check for builtins used inside tuple to ask the kernel to copyout specific data.Martin Pieuchot
2024-02-24Implement 'store' for maps.Martin Pieuchot
2024-02-24Implement 'store' for all builtins, they are either string or integer.Martin Pieuchot
2024-02-12Fix tuple & string comparisons in maps.Martin Pieuchot
2024-02-05Print statistics on stderr to be able to redirect bt(5) script output.Martin Pieuchot
2024-01-25Return 0 when accessing an argument not defined in a probe.Martin Pieuchot
2024-01-23Consider the whole tuple when reading a map entry whose key is that tuple.Martin Pieuchot
2023-11-10zap some unused includesJasper Lievisse Adriaanse
2023-10-22bt(5), btrace(8): execute END probe and print non-empty maps upon exit()Scott Soule Cheloha
2023-10-12bt(5), btrace(8): add support for binary modulo operator ('%')Scott Soule Cheloha
2023-09-15Also update usage() to include [-p file].Claudio Jeker
2023-09-13Properly evaluate variables when inserting them into a map.Martin Pieuchot
2023-09-11Implement tuples, needed to export per-CPU scheduling data.Martin Pieuchot
2023-09-02btrace(8): fix probe builtin in BEGIN/END.Dave Voutila
2023-08-16Backout changes for btrace(8) argN builtins.Dave Voutila
2023-08-15btrace(8): fix out of bounds read using argN in BEGIN/END.Dave Voutila
2023-08-13Add support for storing builtin TID and PID in variables.Martin Pieuchot
2023-06-27Make it possible to store the kstack or ustack in a map (as value, not key).Claudio Jeker
2023-05-12btrace(8) support to symbolize utrace addresses.Claudio Jeker
2023-03-10btrace(8) retrieves the types of the arguments of each tracepointAlexander Bluhm
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
2022-11-12Add support for string comparison in filters.Martin Pieuchot
2022-11-11Add support for storing builtins arguments into local variables.Martin Pieuchot
2022-11-11Add support for multiple statements in if () blocks.Martin Pieuchot
2022-11-11typoMartin Pieuchot
2022-06-02Let btrace(8) execute the END probe upon receiving a SIGTERM signalJeremie Courreges-Anglas
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-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