Re: [PATCH v2] perf tools: Allow passing perf's own pid to '--filter'
From: Arnaldo Carvalho de Melo
Date: Tue Jul 07 2015 - 09:27:27 EST
Em Tue, Jul 07, 2015 at 09:33:02PM +0900, Namhyung Kim escreveu:
> On Tue, Jul 7, 2015 at 12:38 PM, Wang Nan <wangnan0@xxxxxxxxxx> wrote:
> > This patch introduces '$PERFPID' placeholder to perf's filter. Now
> > user is allowed to do the above work with:
> > # perf record -e ... --filter='common_pid != $PERFPID' -a sleep 10
> Instead, what about adding an option to do the same thing, like
> --exclude-perf or something?
Good idea, that would be more compact, yes.
- Arnaldo
--
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/