From c98be08141e0c07857624b2f95e2948f4bcd4985 Mon Sep 17 00:00:00 2001 From: Maxim Sharabayko Date: Thu, 17 Jun 2021 10:52:03 +0200 Subject: [PATCH] Fixed possible CR in arch (probe2trace.pl) #455 --- misc/probe2trace.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/probe2trace.pl b/misc/probe2trace.pl index 6c773165..5f7cf81a 100755 --- a/misc/probe2trace.pl +++ b/misc/probe2trace.pl @@ -11,7 +11,7 @@ GetOptions("arch=s" => \$arch) or die "invalid command option\n"; - +$arch =~ s/\r$//; # remove excess \r on WSL # read file and build list of probes being [[probe_name0, [[arg0_name, arg0_type], [arg1_name, arg1_type], ...], [probe_name2, ... my @probes = do {