All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Wang Nan <wangnan0@huawei.com>,
	a.p.zijlstra@chello.nl, mingo@redhat.com, jolsa@kernel.org,
	peterz@infradead.org, namhyung@kernel.org, kan.liang@intel.com,
	adrian.hunter@intel.com, ak@linux.intel.com,
	cody@linux.vnet.ibm.com, jacob.w.shin@gmail.com,
	standby24x7@gmail.com, lizefan@huawei.com,
	yunlong.song@huawei.com, linux-kernel@vger.kernel.org,
	pi3orama@163.com
Subject: Re: [PATCH] perf record: Allow passing perf's own pid to '--filter'
Date: Mon, 6 Jul 2015 15:58:13 -0300	[thread overview]
Message-ID: <20150706185813.GJ16826@kernel.org> (raw)
In-Reply-To: <20150706123702.6c0a361a@gandalf.local.home>

Em Mon, Jul 06, 2015 at 12:37:02PM -0400, Steven Rostedt escreveu:
> On Mon, 6 Jul 2015 10:56:50 -0300 Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> > > This patch introduces '@PERFPID' placeholder to '--filter' options. Now
> > > user is allowed to the above work with:

> > >   # perf record -e ... --filter="common_pid != @PERFPID' sleep 10
 
> What about using '$' instead. That is more common to shell scripts of
> being a variable.

Agreed.

- Arnaldo

  reply	other threads:[~2015-07-06 18:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06  4:17 [PATCH] perf record: Allow passing perf's own pid to '--filter' Wang Nan
2015-07-06 13:56 ` Arnaldo Carvalho de Melo
2015-07-06 15:00   ` pi3orama
2015-07-06 15:40     ` Arnaldo Carvalho de Melo
2015-07-07  2:43       ` Wangnan (F)
2015-07-07 14:55         ` Arnaldo Carvalho de Melo
2015-07-06 16:37   ` Steven Rostedt
2015-07-06 18:58     ` Arnaldo Carvalho de Melo [this message]
2015-07-06 15:55 ` Andi Kleen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150706185813.GJ16826@kernel.org \
    --to=acme@kernel.org \
    --cc=a.p.zijlstra@chello.nl \
    --cc=adrian.hunter@intel.com \
    --cc=ak@linux.intel.com \
    --cc=cody@linux.vnet.ibm.com \
    --cc=jacob.w.shin@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kan.liang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=pi3orama@163.com \
    --cc=rostedt@goodmis.org \
    --cc=standby24x7@gmail.com \
    --cc=wangnan0@huawei.com \
    --cc=yunlong.song@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.