Re: [RFC] [Patch 4/6] statistics infrastructure - documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux