From f80abee8ef1e9787565b7ed9906c142cc3cff4ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=9Alusarz?= Date: Fri, 3 Nov 2017 23:23:43 +0100 Subject: [PATCH] Handle spaces in file paths. --- stackcollapse-perf.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stackcollapse-perf.pl b/stackcollapse-perf.pl index e91f7deb..468c67ab 100755 --- a/stackcollapse-perf.pl +++ b/stackcollapse-perf.pl @@ -250,7 +250,7 @@ sub inline { # # stack line # - } elsif (/^\s*(\w+)\s*(.+) \((\S*)\)/) { + } elsif (/^\s*(\w+)\s*(.+) \((.*)\)/) { # ignore filtered samples next if not $pname;