summaryrefslogtreecommitdiff
path: root/scripts/recordmcount.pl
diff options
context:
space:
mode:
authorLi Hong <lihong.hi@gmail.com>2009-10-27 14:57:33 +0800
committerSteven Rostedt <rostedt@goodmis.org>2009-10-29 15:11:41 -0400
commite2d753fac5b3954a3b6001f98479f0435fe7c868 (patch)
tree604a91b781139d1e8e51dfc2cdab7e8d1d8c1832 /scripts/recordmcount.pl
parentd49f6aa76d24c60a52530474cb662e8ad9f09471 (diff)
downloadlinux-rpi3-e2d753fac5b3954a3b6001f98479f0435fe7c868.tar.gz
linux-rpi3-e2d753fac5b3954a3b6001f98479f0435fe7c868.tar.bz2
linux-rpi3-e2d753fac5b3954a3b6001f98479f0435fe7c868.zip
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@gmail.com> LKML-Reference: <20091027065733.GB22032@uhli> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/recordmcount.pl')
-rwxr-xr-xscripts/recordmcount.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index a569be72f3b2..a512af1514bd 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);