From: Paul Floyd Date: Sat, 21 Dec 2024 20:27:23 +0000 (+0100) Subject: Bug 497723 - improve filter X-Git-Tag: VALGRIND_3_25_0~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ef63235518b15b97ecfcab5216c99637ad77205;p=thirdparty%2Fvalgrind.git Bug 497723 - improve filter Just print out the function names. Previously it was unstable. --- diff --git a/callgrind/tests/bug497723.post.exp b/callgrind/tests/bug497723.post.exp index 7be1e7e38..095e3b850 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 722ee33d0..002dfb192 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