From: Ceylan, T. <Tol...@sa...> - 2006-01-25 03:12:55
|
Hello; I'm trying to customize oprofile for an intel Xeon HT box to display 2nd level cache hits 3rd level cache hits 2nd level cache misses 2nd level cache misses (at the same time). Oprofile assigns all of these sub-events to only one counter originally, = so I need to modify oprofile to get this data for these 4 sub-events. The box that I need this working on is a 4 way Intel box with Redhat = AS4.0 on it. Before I embark on this project, I just wanted to get some feedback on = this. I'm not very experienced with hardware/device drivers, and=20 I would appreciate tips, and remarks (for example; is this possible at = all?) Looks like I can use MSR_BPU_COUNTER0 through 3 counters for this. And I = don't mind hyperthreaded logical processors sharing these since I need = these stats per physical CPU.=20 Any ideas? Thanks, Tolga Ceylan |