Re: [PATCH V5 4/8] perf/x86/intel/uncore: add new data structures for free running counters

From: Peter Zijlstra
Date: Fri Jan 19 2018 - 08:07:52 EST


On Thu, Jan 18, 2018 at 05:43:10PM +0000, Liang, Kan wrote:
> In the uncore document, there is no event-code assigned to free running counters.
> Some events need to be defined to indicate the free running counters.
> The events are encoded as event-code + umask-code.
>
> The event-code for all free running counters is 0xff, which is the same as
> the fixed counters.

Is it possible to count the same things using the generic counters?