Lines Matching refs:arg
220 foreach $arg (@ARGV) {
221 if ($arg =~ /^-/) {
226 if ($arg =~ /^(-h|--help)$/) {
229 elsif ($arg =~ /^--version$/) {
232 elsif ($arg =~ /^(-l|--long)$/) {
236 elsif ($arg =~ /^(-s|--stat)$/) {
240 elsif ($arg =~ /^(-b|--back)$/) {
244 elsif ($arg =~ /^-e$/) {
248 elsif ($arg =~ /^(-d|--dump)(|=.*)$/) {
259 elsif ($arg =~ /^(-z|--zero)$/) {
263 elsif ($arg =~ /^(-k|--kill)$/) {
267 elsif ($arg =~ /^(-i|--instr)(|=on|=off)$/) {
281 elsif ($arg =~ /^-w(|=.*)$/) {
293 print "Error: unknown command line option '$arg'.\n";
298 if ($arg =~ /^[A-Za-z_]/) {
302 $dumpHint = $arg;
308 @show_events = split(/,/, $arg);
314 if ($arg eq "on") {
317 elsif ($arg eq "off") {
330 $workingDir = $arg;
334 if (defined $cmd{$arg}) { $spids{$arg} = 1; next; }
337 if ($cmd{$p} =~ /^$arg/) {
344 print "Error: Callgrind task with PID/name '$arg' not detected.\n";