From: "Jesper Juhl" <jesper.juhl@gmail.com>
To: "Maxim Uvarov" <muvarov@ru.mvista.com>
Cc: Valdis.Kletnieks@vt.edu, linux-kernel@vger.kernel.org
Subject: Re: Performance Stats: Kernel patch
Date: Wed, 4 Apr 2007 15:59:10 +0200 [thread overview]
Message-ID: <9a8748490704040659t43942e96t8e70d8785f851336@mail.gmail.com> (raw)
In-Reply-To: <4613A4FF.9030202@ru.mvista.com>
On 04/04/07, Maxim Uvarov <muvarov@ru.mvista.com> wrote:
> Hello again,
>
[snip]
> New version of this patch. Please flay it.
>
A few small comments below.
>
> +config THREAD_PERF_STAT
> + bool "Per-process (thread) performance statistics"
> + depends on (X86 || PPC || MIPS)
> + help
> + Make available to the user the following new per-process
> (thread) performance statistics:
Get rid of the word "new" - it won't continue to be a "new" feature forever :-)
> + * Involuntary Context Switches
> + * Voluntary Context Switches
> + * Number of system calls (option)
In the first two lines you Capitalize Each Word, but in the last line
you don't - why?
Shouldn't the first two have "Number of" prepended?
Perhaps it's just me, but I would write "(optional)" instead of "(option)".
In short, I'd suggest this :
* Number of involuntary context switches
* Number of voluntary context switches
* Number of system calls (optional)
> + This information is available via /proc/PID/status.
What about tools that currently parse /proc/PID/status ? Don't you
risk breaking userland stuff by changing this file? Wouldn't it be
better to use a new file?
> +
> +config THREAD_PERF_STAT_SYSC
> + bool "enable syscall counter"
Capitalize the first word; "Enable syscall counter" .
> + depends on THREAD_PERF_STAT
> + help
> + This option add syscalls counter to /proc/PID/status.
I'd probably have written "This option adds a syscall counter to
/proc/PID/status."
--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
next prev parent reply other threads:[~2007-04-04 13:59 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-03 12:54 Maxim Uvarov
2007-04-03 23:01 ` Valdis.Kletnieks
2007-04-04 13:15 ` Maxim Uvarov
2007-04-04 13:46 ` Eric Dumazet
2007-04-04 16:52 ` Maxim Uvarov
2007-04-04 18:04 ` Eric Dumazet
2007-04-04 21:54 ` Valdis.Kletnieks
2007-04-04 13:59 ` Jesper Juhl [this message]
2007-04-04 21:50 ` Valdis.Kletnieks
2007-04-04 22:03 ` Randy Dunlap
2007-04-06 21:50 ` Bill Davidsen
2007-04-08 16:58 ` Pavel Machek
2007-04-09 14:22 Maxim Uvarov
2007-04-10 8:21 ` Eric Dumazet
2007-04-11 11:59 ` Maxim Uvarov
2007-04-11 12:26 ` Eric Dumazet
2007-04-11 13:15 ` Maxim Uvarov
2007-04-11 14:15 ` Eric Dumazet
2007-04-11 15:33 ` Bill Davidsen
2007-04-11 15:57 ` Maxim Uvarov
2007-04-11 15:53 ` Maxim Uvarov
2007-04-11 19:22 ` Eric Dumazet
2007-04-12 13:46 ` Maxim Uvarov
2007-04-15 9:47 ` Pavel Machek
2007-04-15 10:21 ` William Lee Irwin III
2007-04-15 20:10 ` Pavel Machek
2007-04-16 1:04 ` William Lee Irwin III
2007-04-16 9:24 ` Maxim Uvarov
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=9a8748490704040659t43942e96t8e70d8785f851336@mail.gmail.com \
--to=jesper.juhl@gmail.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=muvarov@ru.mvista.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
all inboxes | Powered by JetHome®