[perfmon2] Getting FIXED/non-FIXED counter information on x86
Status: Beta
Brought to you by:
seranian
|
From: Dan S. <da...@ho...> - 2022-03-27 10:34:24
|
Hi,
I'd like to dynamically manage the counters requested from a PMU on x86
platforms
where there is variability as to the number of floating/fixed counters
available.
I see there are, internally, markings (the .uflags / .flags field) for
the INTEL_X86_FIXED flag.
However, I don't see a way to extract or get this information as a user of
libpfm to understand
what the implications are for adding a counter to the list on the per-PMU
counter budget as
reported by the pfm_get_pmu_info() (which does differentiate between fixed
and non-fixed counters.
Is there any reasonable way to get this sort of detailed information?
Shechter.
|