Add signal handlers to trigger special conditions in tracy-test. This proves useful when working on the capture utility to check edge conditions.
USR1: abort the program
example of call & output
in the profiler:
USR2: send buggy TracyFree event, to trigger an instrumentation failure
❯ timeout --signal USR2 0.4 ./tracy-test
Triggering instrumentation failure
terminate called without an active exception
timeout: the monitored command dumped core
Add signal handlers to trigger special conditions in
tracy-test
. This proves useful when working on thecapture
utility to check edge conditions.USR1: abort the program
example of call & output
in the profiler:
USR2: send buggy
TracyFree
event, to trigger an instrumentation failure