Commit e2d753fac5b3954a3b6001f98479f0435fe7c868

Authored by Li Hong
Committed by Steven Rostedt
1 parent d49f6aa76d

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

scripts/recordmcount.pl
... ... @@ -113,7 +113,7 @@
113 113  
114 114 my $V = '0.1';
115 115  
116   -if ($#ARGV < 7) {
  116 +if ($#ARGV != 10) {
117 117 print "usage: $P arch bits objdump objcopy cc ld nm rm mv is_module inputfile\n";
118 118 print "version: $V\n";
119 119 exit(1);