Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add a test case for variable watchpoints
$ uftrace -W var:mydata tests/t-watch-global # DURATION TID FUNCTION [238314] | __monstartup() { [238314] | /* watch:var (mydata=0) */ 1.375 us [238314] | } /* __monstartup */ 0.384 us [238314] | __cxa_atexit(); [238314] | main() { [238314] | foo() { [238314] | /* watch:var (mydata=1) */ 0.202 us [238314] | bar(); [238314] | /* watch:var (mydata=2) */ 0.638 us [238314] | } /* foo */ 0.902 us [238314] | } /* main */ Signed-off-by: Namhyung Kim <namhyung@gmail.com>
- Loading branch information