[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100520230629.GX21799@erda.amd.com>
Date: Fri, 21 May 2010 01:06:30 +0200
From: Robert Richter <robert.richter@....com>
To: Ingo Molnar <mingo@...e.hu>
CC: Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Stephane Eranian <eranian@...gle.com>,
LKML <linux-kernel@...r.kernel.org>,
Lin Ming <ming.m.lin@...el.com>
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@....com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists