Messages in this thread | | | Date | Fri, 21 May 2010 01:06:30 +0200 | From | Robert Richter <> | Subject | Re: [PATCH 1/7] perf: introduce raw_type attribute to specify the type of a raw sample |
| |
On 20.05.10 02:51:43, Ingo Molnar wrote:
> Whether IBS fits that category is an open question - > ideally it should have similar high level usage as the > PEBS/LBR bits on Intel CPUs. (at least as far as tooling > goes)
Ingo,
high level usage is from the perspective of perf tools. IBS delivers high detailed diagnostic data that is also processed by userland tools other than perf. If we would introduce another interface layer it becomes much harder for such tools to use the pmu via this layer. The raw data is of much more interest here for users. If we think of perf_event as a subsystem controlling the pmu in a single instance, it should provide access to set and get raw pmu registers. I see this as a necessary feature.
Nevertheless I agree that key features should be exposed also with a high level interface and if possible in an abstracted non-model specific way.
-Robert
-- Advanced Micro Devices, Inc. Operating System Research Center email: robert.richter@amd.com
| |