mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
For all the same reasons I rewrote `cg_annotate` in Python. The commit also moves the Python "build" steps into `auxprogs/pybuild.sh`, for easy sharing. Finally, it very slightly tweaks the whitespace in the output of `cg_annotate`.
7 lines
460 B
Plaintext
7 lines
460 B
Plaintext
# The `prog` doesn't matter because we don't use its output. Instead we test
|
|
# the post-processing of the `ann-diff2{a,b}.cgout` test files.
|
|
prog: ../../tests/true
|
|
vgopts: --cachegrind-out-file=cachegrind.out
|
|
post: python ../../cachegrind/cg_diff --mod-filename="s/.*aux\//aux\//i" --mod-funcname="s/(f[a-z]*)[0-9]/\1N/g" ann-diff2a.cgout ann-diff2b.cgout > ann-diff2c.cgout && python ../../cachegrind/cg_annotate ann-diff2c.cgout
|
|
cleanup: rm ann-diff2c.cgout
|