]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 497723 - improve filter
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 21 Dec 2024 20:27:23 +0000 (21:27 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 21 Dec 2024 20:27:23 +0000 (21:27 +0100)
Just print out the function names. Previously it was unstable.

callgrind/tests/bug497723.post.exp
callgrind/tests/bug497723.vgtest

index 7be1e7e38c8b963ef3e5e756b0ec4bdaff8449cf..095e3b850bfaedddd496167c777b9c84dcbf73a5 100644 (file)
@@ -1,2 +1,2 @@
-cfn=(5164) ada__text_io__put_line
-cfn=(5160) _ada_main
+ada__text_io__put_line
+_ada_main
index 722ee33d0584e74e48d4185fadd61d7a7b034b85..002dfb1920b8c8d18c2a980fca98cd57bb231004 100644 (file)
@@ -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