Thread (4 messages) 4 messages, 3 authors, 2010-02-19

Re: [PATCH 5/10] udlfb: Add functions to expose sysfs metrics and

flat view

From: Bernie Thompson <bernie@plugable.com>
Date: 2010-02-18 23:03:37

Hi Greg,

On Thu, Feb 18, 2010 at 7:57 AM, Greg KH [off-list ref] wrote:
All new sysfs files will need a Documentation/ABI/ patch as well to
explain the files.
I'll construct an additional patch to document the edid file (this
aught to be a standardized thing for all framebuffers, anyway - and
others have done similar/same).

And I'll do a separate one for the individual metrics if they're kept
in sysfs in the future.
quoted
metrics_misc
This isn't.  sysfs files are "one value per file".  If you want to do
something else, like this file, I suggest using debugfs instead.
The metrics stuff is a good candidate for moving to debugfs, I guess,
in a future patch. For now, anything in that set which violates sysfs
guidelines (metrics_misc) aught to just be removed, I guess.

These metrics have already been very helpful for comparing different
rendering algorithms, for debugging, and it's very helpful for
gathering info from end-users that may not have anything other than
sysfs set up. There are so many different hardware/software scenarios
that there's often no way to have any sense of what's happening
without more detailed instrumentation like this.

Best wishes,
Bernie
http://plugable.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help