Re: [PATCH 4/4] perf report: Treat an argument as a symbol filter

From: Ingo Molnar
Date: Tue Mar 13 2012 - 11:24:29 EST



* Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

> On Tue, 2012-03-13 at 07:21 +0100, Ingo Molnar wrote:
> > To play the devil's advocate it uses up valuable perf report
> > command line real estate and we probably cannot change this
> > workflow in the future, once people get used to it.
>
> I would indeed suggest to make it a proper argument and add
> argument parsing to report like we have for all the other
> commands.
>
> Say something like: perf report --symbol-filter="foobar" and
> maybe an appropriate short version.

No objection against also having a command line option, but I
really like the Git way of doing things like:

git remote update tip

where it's several layers of commands plus arguments, with no
silly command switch names to remember.

Thanks,

Ingo
--
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/