Messages in this thread | | | Subject | Accessing performance counters for a processor in a multi-processor environment | Date | Mon, 4 Apr 2005 14:57:13 -0700 | From | "Abhinkar, Sameer" <> |
| |
Hi there,
I'm a newbie in Linux kernel development and hopefully my question has some quick solution..
I'm trying to access performance counters on a dual Xeon processor machine (both processors are 32-bit and HT enabled). Since each processor (logical/physical) has their own performance counter, I'd like to get the numbers for a processor. Is there a way I can do some pre-work before executing rdpmc instruction to set up the context to access counter information of a certain processor? Or, what is the best way to do get the counter information for a certain processor in a multi-processor environment.
If anybody has some information, I'd really grateful..
Thanks in advance,
Regards, Sameer - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |