From 4bee3b195c2bbc49efda0300b10772ab603069dc Mon Sep 17 00:00:00 2001 From: Martin Evgeniev Date: Fri, 7 Dec 2018 11:31:33 +0100 Subject: [PATCH] Remove spurious profile pattern Co-authored-by: pancho horrilo --- tests/make_graph | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/make_graph b/tests/make_graph index 0396e7b41..50410a1b9 100755 --- a/tests/make_graph +++ b/tests/make_graph @@ -16,11 +16,10 @@ dir="$1" metric="$2" -profiles='cpu' all() { - for prof in $(find $dir -type f -name "*$profiles*.pb.gz" | sort ) + for prof in $(find $dir -type f -name "*.pb.gz" | sort ) do x=$(echo "$prof" | cut -d- -f2) go tool pprof -top -unit ms $prof | awk "/%.*%.*%/ && NF == 6" | sed "s/^/$x /"