From: Andi Kleen <ak@suse.de>
To: Martin Peschke <mp3@de.ibm.com>
Cc: Andi Kleen <ak@suse.de>, akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [patch 1/6] statistics infrastructure - prerequisite: scatter-gather ringbuffer
Date: Thu, 15 Dec 2005 04:33:54 +0100 [thread overview]
Message-ID: <20051215033354.GR23384@wotan.suse.de> (raw)
In-Reply-To: <43A0D68D.8090405@de.ibm.com>
> Relayfs seems to be the right thing to convey streams of incremental
> pieces of data, like trace records as implemented by
> arch/s390/kernel/debug.c, for example. Relayfs would work for statistics
> that involve data growth like a history of a counter, for example, or
> the raw measurement data reported for statistic updates. I doubt it is
> the right thing for counters, fill level indicators and histograms;
For those we traditionally use ASCII files if the data is small.
If it's big relayfs is probably the right answer.
> basically for all types of statistics that do not continuously put their
> hands on untouched memory to store their results.
>
> I am currently using debugfs, which works fine for all of these cases.
> In addition, I need some ringbuffer functionality, though.
IIRC relayfs was changed to be able to handle files in debuggfs by
just plugging in the file operations.
-Andi
prev parent reply other threads:[~2005-12-15 3:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 16:13 [patch 1/6] statistics infrastructure - prerequisite: scatter-gather ringbuffer Martin Peschke
2005-12-14 18:32 ` Andi Kleen
2005-12-15 2:35 ` Martin Peschke
2005-12-15 3:33 ` Andi Kleen [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=20051215033354.GR23384@wotan.suse.de \
--to=ak@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mp3@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