msr again - proc/tasks

Stephan Meyer (Stephan.Meyer@pobox.com)
Sat, 15 Nov 1997 09:38:08 +0100 (MET)


I have two serious questions:

(1) I suppose that if each process structure saves the performance
counters which are saved and restored on each context switch,
I can eliminate two problems:

(a) No problems with SMP anymore.

(b) I can time multiple processes simultanously with no
overlaps. Two running userspace test programs
would then not interfere.

Is that true? :)

(2) I'm leaning a bit towards the proc-filesystem-approach now.
That's the sysctl stuff, right?

Where in the proc filesystem hierarchy should I place the MSR
interface?

Thanks.

- Stephan

------------------------------------------------
Stephan.Meyer@pobox.com
meyerst@informatik.uni-muenchen.de
http://pobox.com/~stephan.meyer/
2A 64 F0 73 02 91 10 FC 18 CC 83 1E E2 2C 7E 79