Re: [PATCH 08/31] perf, x86: Report PEBS event in a raw format

2012-09-28 Thread Stephane Eranian
On Fri, Sep 28, 2012 at 10:54 AM, Peter Zijlstra wrote: > On Thu, 2012-09-27 at 21:31 -0700, Andi Kleen wrote: >> Left over are the general registers. We need them for some analysis >> too: for example for loop trip count and string instruction trip >> count sampling. >> >> There isn't really any

Re: [PATCH 08/31] perf, x86: Report PEBS event in a raw format

2012-09-28 Thread Peter Zijlstra
On Thu, 2012-09-27 at 21:31 -0700, Andi Kleen wrote: > Left over are the general registers. We need them for some analysis > too: for example for loop trip count and string instruction trip > count sampling. > > There isn't really any good way to generalize general registers. > Obviously they are

[PATCH 08/31] perf, x86: Report PEBS event in a raw format

2012-09-27 Thread Andi Kleen
From: Andi Kleen Add support for reporting PEBS records in a raw format that can be then parsed by perf script. We exposed most of the Haswell PEBS fields in a generic way in this patchkit: - Aborted cycles is in weight - Memory latency is in weight - DataLA is in address - EventingRIP is used f