From: Steven Rostedt <rostedt@goodmis.org>
To: jolsa@redhat.com
Cc: mingo@elte.hu, lizf@cn.fujitsu.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCHv3] tracing - support multiple pids in set_pid_ftrace file
Date: Wed, 16 Sep 2009 11:51:32 -0400 [thread overview]
Message-ID: <1253116292.20020.201.camel@gandalf.stny.rr.com> (raw)
In-Reply-To: <1253088900-18506-1-git-send-email-jolsa@redhat.com>
On Wed, 2009-09-16 at 10:15 +0200, jolsa@redhat.com wrote:
> Adding the possibility to set more than 1 pid in the set_pid_ftrace file,
> thus allowing to trace more than 1 independent processes.
>
> Usage:
>
> sh-4.0# echo 284 > ./set_ftrace_pid
> sh-4.0# cat ./set_ftrace_pid
> 284
> sh-4.0# echo 1 >> ./set_ftrace_pid
> sh-4.0# echo 0 >> ./set_ftrace_pid
> sh-4.0# cat ./set_ftrace_pid
> swapper tasks
> 1
> 284
> sh-4.0# echo 4 > ./set_ftrace_pid
> sh-4.0# cat ./set_ftrace_pid
> 4
> sh-4.0# echo > ./set_ftrace_pid
> sh-4.0# cat ./set_ftrace_pid
> no pid
> sh-4.0#
>
>
> wbr,
> jirka
>
> Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Thanks! I'll queue this up for 2.6.33. (too late for this merge window).
Nitpick. For future patches, have the subject be:
tracing: ...
not
tracing - ...
-- Steve
prev parent reply other threads:[~2009-09-16 15:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-16 8:15 jolsa
2009-09-16 15:51 ` Steven Rostedt [this message]
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=1253116292.20020.201.camel@gandalf.stny.rr.com \
--to=rostedt@goodmis.org \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.com \
--cc=mingo@elte.hu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®