From: Christoph Hellwig <hch@infradead.org>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: akpm@osdl.org, mpeschke@de.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: [patch 1/14] s390: statistics infrastructure.
Date: Fri, 28 Oct 2005 19:08:01 +0100 [thread overview]
Message-ID: <20051028180801.GA7875@infradead.org> (raw)
In-Reply-To: <20051028140617.GA7300@skybase.boeblingen.de.ibm.com>
On Fri, Oct 28, 2005 at 04:06:17PM +0200, Martin Schwidefsky wrote:
> From: Martin Peschke <mpeschke@de.ibm.com>
>
> [patch 1/14] s390: statistics infrastructure.
>
> Add the statistics facility. This features offers a simple way to
> gather statistical data and to display them via the debugfs.
> An example how this is used:
>
> struct statistic_interface *stat_if;
> struct statistic *stat;
>
> statistic_interface_create(&stat_if, "whatever");
> statistic_create(&stat, stat_if, "stat-name", "unit");
> statistic_define_value(stat, range_min, range_max, def_mode);
> ...
> statistic_inc(stat, value); /* repeat.. */
> ...
> statistic_interface_remove(&stat_if);
This certainly doesn't belong into arch code. Please move to common
code and send over to lkml for detailed review.
next prev parent reply other threads:[~2005-10-28 18:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-28 14:06 [patch 1/14] s390: statistics infrastructure Martin Schwidefsky
2005-10-28 18:08 ` Christoph Hellwig [this message]
2005-10-31 8:40 ` Andrew Morton
-- strict thread matches above, loose matches on Subject: below --
2005-10-31 9:36 Martin Peschke3
2005-10-31 14:15 Martin Peschke3
2005-10-31 19:16 ` Andrew Morton
2005-10-31 20:44 Martin Peschke3
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=20051028180801.GA7875@infradead.org \
--to=hch@infradead.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpeschke@de.ibm.com \
--cc=schwidefsky@de.ibm.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