lkml.org 
[lkml]   [1999]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectResetting performance counters in /proc
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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.081 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site