[lkml]   [2000]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] enabling APIC and NMI watchdog on UP systems
On Fri, 29 Sep 2000, Ingo Molnar wrote:

> that having all said, i'm not against a generic, nonpriviledged (kernel
> based) performance counter API within the kernel (if there is demand), and
> such an API should of course have close control over the contents of the
> performance counter registers, and in this case the NMI oopser has to
> cooperate. Something like doing per-process performance monitoring and
> potentially switching the MSRs on task-switch. But as far as i've seen,
> most people who want to have that kind of finegrained information about
> their system have no problem doing these things as root, and this is a
> much simpler implementation.
> Ingo

Of course Mikael Petersson's perfctr patch has been providing such for a
while now, and many people use it. My forthcoming profiler makes use the
counters in a different way, but as long as such an API is clean enough to
allow the various different uses w/o hacky patches I think this would be a
great idea.

prumpf has been talking about using some counter information for
scheduling/VM purposes as well ...


"The words CON and NUL
Are reserved by the system.
Don't ask; they just are."

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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