Resetting performance counters in /proc

Greg Franks (greg@sce.carleton.ca)
Tue, 8 Jun 1999 09:18:19 -0400 (EDT)


Exporting information from the kernel is relatively simple with the
/proc file system. However, I would like to reset some of the
counters, either through write() or through truncate(). Where would I
look to see how to accomplish this? Do I have to worry about mutual
exclusion and if so, what's the preferred way to prevent context
switches in a particular section of code?
----

__@ Greg Franks, (613) 520-5726 <| _~@ __O
_`\<,_ Systems Engineering, Carleton University, |O\ -^\<;^\<,
(*)/ (*) Ottawa, Ontario, Canada K1S 5B6. (*)--(*)%---/(*)
"Where do you want to go today?" Outside.


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