Re: [RFC] [Patch 0/8] statistics infrastructure
From: Andi Kleen
Date: Wed May 17 2006 - 14:05:31 EST
On Wednesday 17 May 2006 19:23, Frank Ch. Eigler wrote:
> Martin Peschke <mp3@xxxxxxxxxx> writes:
> > My patch series is a proposal for a generic implementation of statistics.
> > Envisioned exploiters include device drivers, and any other component.
> > [...]
> > Good places to start reading code are:
> > statistic_create(), statistic_remove()
> > statistic_add(), statistic_inc()
> > [...]
> It is interesting how many solutions pop up for this sort of problem.
> The many tracing tools/patches, systemtap, and now this, all share
> some goals and should ideally share some of the technology.
I disagree. They often have very different requirements - and a one-size-fits-all
solution will be likely too heavyweight for most users.
The passing to user space can be unified, but we already have solutions
for that (seq_*, relayfs). But the actual data gathering is better custom
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/