From 7b8b6707d430c12dbfbebd7237a1cc4898d6f4a0 Mon Sep 17 00:00:00 2001 From: Date: Wed, 13 May 2009 15:41:12 -0700 Subject: [PATCH] Added callgrind() to Makefile --- tests/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 5e51f666..dc242aca 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -76,9 +76,14 @@ valgrind: libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes testapp cachegrind: - rm cachegrind.out.* + rm -f cachegrind.out.* libtool --mode=execute valgrind --tool=cachegrind --branch-sim=yes testapp - cg_annotate cachegrind.out.* --auto=yes > /tmp/calgrind.out + cg_annotate cachegrind.out.* --auto=yes > /tmp/cachegrind.out + +callgrind: + rm -f callgrind.out.* + libtool --mode=execute valgrind --tool=callgrind testapp + callgrind_annotate callgrind.out.* --auto=yes > /tmp/callgrind.out test-no-outputdiff: testapp ./testapp > /dev/null -- 2.30.2