Messages in this thread Patch in this message | | | Date | Wed, 28 Oct 2009 13:03:32 +0800 | From | Li Hong <> | Subject | [PATCH v3 3/8] tracing: recordmcount.pl Support absolute path check on $inputfile |
| |
From 6352a90805b18e4b567c3dcdd438e3828e478734 Mon Sep 17 00:00:00 2001 From: Li Hong <lihong.hi@gmail.com> Date: Tue, 27 Oct 2009 12:32:18 +0800 Subject: [PATCH] tracing: recordmcount.pl Support absolute path check on $inputfile
Signed-off-by: Li Hong <lihong.hi@gmail.com> --- scripts/recordmcount.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 9e0ec8e..8ff9eab 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -123,7 +123,7 @@ my ($arch, $bits, $objdump, $objcopy, $cc, $ld, $nm, $rm, $mv, $is_module, $inputfile) = @ARGV; # This file refers to mcount and shouldn't be ftraced, so lets' ignore it -if ($inputfile eq "kernel/trace/ftrace.o") { +if ($inputfile =~ m,kernel/trace/ftrace\.o$,) { exit(0); } -- 1.6.0.4
| |