From: Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>
To: linux-kernel@vger.kernel.org
Cc: Frederic Weisbecker <fweisbec@gmail.com>,
Ingo Molnar <mingo@redhat.com>,
Steven Rostedt <rostedt@goodmis.org>,
masami.hiramatsu.pt@hitachi.com, hidehiro.kawai.ez@hitachi.com,
yrl.pp-manager.tt@hitachi.com
Subject: Re: [PATCH -tip 0/2] ftrace: Introduce the new I/F "nr_saved_cmdlines"
Date: Wed, 20 Nov 2013 09:53:15 +0900 [thread overview]
Message-ID: <528C07FB.4090904@hitachi.com> (raw)
In-Reply-To: <20131108042652.26950.32013.stgit@yunodevel>
Hi,
Would you review this patch set?
Thanks,
Yoshihiro YUNOMAE
(2013/11/08 13:26), Yoshihiro YUNOMAE wrote:
> Hi,
>
> This patch set introduces the new I/F "nr_saved_cmdlines" for increasing
> the number of saved cmdlines. Current saved_cmdlines can store just 128 command
> names and PIDs, but process names are often lost like <...> when we read trace
> data. If the process exists, we can get the name by using ps command. However,
> if the process already has not existed, we cannot get the name.
>
> To solve this issue, we introduce the new I/F "nr_saved_cmdlines" to expand
> the max number of saved command line names. This I/F is very simple.
> If we write a number to nr_saved_cmdlines, the number of command name will be
> stored. And, if we read the I/F, we can get current maximum number of command
> name. The default number is 128 which is current default number, so this patch
> does not change the usage of memory for saved_cmdlines when we boot kernel.
>
> Thanks!
>
> ---
>
> Yoshihiro YUNOMAE (2):
> ftrace: Make saved_cmdlines use seq_read
> ftrace: Introduce nr_saved_cmdlines I/F
>
>
> kernel/trace/trace.c | 296 +++++++++++++++++++++++++++++++++++++++++---------
> 1 file changed, 241 insertions(+), 55 deletions(-)
>
--
Yoshihiro YUNOMAE
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: yoshihiro.yunomae.ez@hitachi.com
prev parent reply other threads:[~2013-11-20 0:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-08 4:26 [PATCH -tip 0/2] ftrace: Introduce the new I/F "nr_saved_cmdlines" Yoshihiro YUNOMAE
2013-11-08 4:26 ` [PATCH -tip 1/2] ftrace: Make saved_cmdlines use seq_read Yoshihiro YUNOMAE
2013-11-08 4:26 ` [PATCH -tip 2/2] ftrace: Introduce nr_saved_cmdlines I/F Yoshihiro YUNOMAE
2013-11-20 0:53 ` Yoshihiro YUNOMAE [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=528C07FB.4090904@hitachi.com \
--to=yoshihiro.yunomae.ez@hitachi.com \
--cc=fweisbec@gmail.com \
--cc=hidehiro.kawai.ez@hitachi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=masami.hiramatsu.pt@hitachi.com \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--cc=yrl.pp-manager.tt@hitachi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox