Thread (17 messages) flat view 17 messages, 7 authors, 2006-06-16

Re: [PATCH 0/3] powerpc: Instrument Hypervisor Calls: add sysfs files

From: Christopher Yeoh <hidden>
Date: 2006-06-15 11:45:50

At 2006/6/14 09:22-0500  Nathan Lynch writes:
quoted
+
+static SYSDEV_ATTR(hcall_stats, 0666, show_hcall_stats, NULL);
Mode should be 0444 or 0400, no need to have write permissions.
The original version zeroed all of the counters if you wrote anything
to the file. This was kind of handy when doing test runs.

Chris
-- 
cyeoh@au.ibm.com
IBM OzLabs Linux Development Group
Canberra, Australia
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help