lkml.org 
[lkml]   [2006]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] [Patch 4/6] statistics infrastructure - documentation
From
Date
On Wed, 2006-05-17 at 23:33 -0700, Randy.Dunlap wrote:
> On Wed, 17 May 2006 20:54:45 +0200 Martin Peschke wrote:
>
> > documentation for developers and users
> >
[ snipped ]

Thanks reading carefully. Good catches. I fixed them all.

> > + Why debugfs for now
> > +
> > +While sysfs comes with a refined structure reflecting almost everything
> > +in the system, it is (by design) not good at representing large and variable
> > +amounts of data, that is, more than one value per file. As for statistics,
> > +we could make good use of the former, but not of the latter.
>
> Why is debugfs not suitable for large & variable amounts of data?
> Please expand/explain.

It might have been confusing that I started off discussing _sysfs_ (and
why it doesn't suit my needs in some regards). Debugfs is fine.

> > + Locating statistics
> > +
> > +The statistics infrastructure's user interface is in the
> > +/sys/kernel/debug/statistics directory, assuming debugfs has been mounted at
> > +/sys/kernel/debug. The "statistics" directory holds interface subdirectories
> > +created on the behalf of exploiters, for example:
>
> I'm curious:
> Is /sys/kernel/debug a common mount point for debugfs ?

I would think so.

Martin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-18 17:27    [W:0.031 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site