https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=0ef63235518b15b97ecfcab5216c99637ad77205
commit 0ef63235518b15b97ecfcab5216c99637ad77205
Author: Paul Floyd <pj...@wa...>
Date: Sat Dec 21 21:27:23 2024 +0100
Bug 497723 - improve filter
Just print out the function names. Previously it was unstable.
Diff:
---
callgrind/tests/bug497723.post.exp | 4 ++--
callgrind/tests/bug497723.vgtest | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/callgrind/tests/bug497723.post.exp b/callgrind/tests/bug497723.post.exp
index 7be1e7e38c..095e3b850b 100644
--- a/callgrind/tests/bug497723.post.exp
+++ b/callgrind/tests/bug497723.post.exp
@@ -1,2 +1,2 @@
-cfn=(5164) ada__text_io__put_line
-cfn=(5160) _ada_main
+ada__text_io__put_line
+_ada_main
diff --git a/callgrind/tests/bug497723.vgtest b/callgrind/tests/bug497723.vgtest
index 722ee33d05..002dfb1920 100644
--- a/callgrind/tests/bug497723.vgtest
+++ b/callgrind/tests/bug497723.vgtest
@@ -1,4 +1,4 @@
prog: ../../memcheck/tests/bug445235_ada_demangle
vgopts: --callgrind-out-file=callgrind.out
-post: grep "cfn.*ada_" callgrind.out
-cleanup: rm callgrind.out
+post: awk '/cfn.*ada_/{print $2}' callgrind.out
+#cleanup: rm callgrind.out
|