Skip to content

Commit

Permalink
Remove spurious profile pattern
Browse files Browse the repository at this point in the history
Co-authored-by: pancho horrilo <[email protected]>
  • Loading branch information
suizman and panchoh committed Dec 7, 2018
1 parent fe4e0c2 commit 4bee3b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/make_graph
Original file line number Diff line number Diff line change
Expand Up @@ -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 /"
Expand Down

0 comments on commit 4bee3b1

Please sign in to comment.