Re: [PATCHSET 0/8] perf tools: Fix scalability problem on callchainmerging (v5)
From: David Ahern
Date: Fri Oct 11 2013 - 11:11:24 EST
On 10/11/13 1:34 AM, Jiri Olsa wrote:
'-g' takes optional parameter, so having it in front of
non option string is causing the error, you could use:
./perf record -g -- ~/hackbench 10
maybe we could display just only help string of the option
we failed to process in this case
That's a syntax change introduced I believe when you added dwarf
support. Every now and then I slip up and type -ga -- something that
worked up until the callchain arg was expanded -- and now it fails as -g
wants to look at 'a' as an argument to it.
It would be nice to fix the callchain arg handler to not attempt to
process the next argument if it is not fp or dwarf.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/