Re: [PATCH 4/7] perf/x86-ibs: Add support for IBS pseudo events

From: Robert Richter
Date: Mon May 07 2012 - 10:48:36 EST


On 07.05.12 13:00:54, Peter Zijlstra wrote:
> Who again wasn't decoding anything in perf_event_attr:config* ?

attr:config is one of the ibs control msrs comparable with perfctr's
evntsel msr:

MSRC001_1030 IBS Fetch Control Register (IbsFetchCtl)
MSRC001_1033 IBS Execution Control Register (IbsOpCtl)

There are some options (randomisation, cycle/micro-op counting) but
usually it is null since the period is encoded in attr:period. But ibs
could be setup by an application using attr:config only which then
passes the value directly to the ctl msr.

-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/