From 0ef63235518b15b97ecfcab5216c99637ad77205 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sat, 21 Dec 2024 21:27:23 +0100 Subject: [PATCH] Bug 497723 - improve filter Just print out the function names. Previously it was unstable. --- 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 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 -- 2.11.4.GIT