[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-e2d753fac5b3954a3b6001f98479f0435fe7c868@git.kernel.org>
Date: Fri, 30 Oct 2009 16:19:02 GMT
From: tip-bot for Li Hong <lihong.hi@...il.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, lihong.hi@...il.com, hpa@...or.com,
mingo@...hat.com, rostedt@...dmis.org, tglx@...utronix.de
Subject: [tip:tracing/core] tracing: Correct the check for number of arguments in recordmcount.pl
Commit-ID: e2d753fac5b3954a3b6001f98479f0435fe7c868
Gitweb: http://git.kernel.org/tip/e2d753fac5b3954a3b6001f98479f0435fe7c868
Author: Li Hong <lihong.hi@...il.com>
AuthorDate: Tue, 27 Oct 2009 14:57:33 +0800
Committer: Steven Rostedt <rostedt@...dmis.org>
CommitDate: Thu, 29 Oct 2009 15:11:41 -0400
tracing: Correct the check for number of arguments in recordmcount.pl
The number of arguments passed into recordmcount.pl is 10, but the code
checks if only 7 are passed in.
Signed-off-by: Li Hong <lihong.hi@...il.com>
LKML-Reference: <20091027065733.GB22032@...i>
Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
---
scripts/recordmcount.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index a569be7..a512af1 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -113,7 +113,7 @@ $P =~ s@.*/@@g;
my $V = '0.1';
-if ($#ARGV < 7) {
+if ($#ARGV != 10) {
print "usage: $P arch bits objdump objcopy cc ld nm rm mv is_module inputfile\n";
print "version: $V\n";
exit(1);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists