Re: [PATCH 0/7] perf/x86-ibs and tools: Add support for AMD IBS

From: Robert Richter
Date: Thu May 31 2012 - 11:51:32 EST


On 31.05.12 17:24:25, Stephane Eranian wrote:

> I think the script ibs.pl would be more useful if it were to offer the
> option to decrypt
> each IBS register. I am not a Perl programmer, so I had a hard time
> understanding
> the way one can use pack()/unpack() to extract bitfields from a u64 value.

Stephane, I didn't spent the effort yet to implement a complete IBS
sample parser in userland. This could be done with a later update. My
intention was to give the perl script out anyway as it helps to dump
the raw register values. It can easy be extended or grep'ed directly
for bit combinations of certain registers.

For the implementation of an ibs sample parser I was thinking of
extending perf-report, but so far I don't have something. Another
option I plan to implement is userland sample filtering. Pseudo events
could be extracted from the raw data which is then equivalent to a
sample parser.

-Robert

--
Advanced Micro Devices, Inc.
Operating System Research Center

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/