mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
27ea55fc65
Due to a mis-merge, the changes committed to libpmc never called pmu_parse_event(), or set pm->pm_ev. However, this field shouldn't be used to carry the actual pmc event code anyway, as it is expected to contain the index into the pmu event array (otherwise, it breaks event name lookup in pmclog_get_event()). Add a new MD field, pm_md.pm_md_config, to pass the raw event code to arm64_allocate_pmc(). Additionally, the change made to pmc_md_op_pmcallocate was incorrect, as this is a union, not a struct. Restore the proper padding size. Reviewed by: luporl, ray, andrew Fixes: |
||
---|---|---|
.. | ||
pmu-events | ||
libpmc_json.cc | ||
libpmc_pmu_util.c | ||
libpmc.c | ||
libpmcinternal.h | ||
Makefile | ||
Makefile.depend | ||
Makefile.inc | ||
pmc_allocate.3 | ||
pmc_attach.3 | ||
pmc_capabilities.3 | ||
pmc_configure_logfile.3 | ||
pmc_disable.3 | ||
pmc_event_names_of_class.3 | ||
pmc_get_driver_stats.3 | ||
pmc_get_msr.3 | ||
pmc_init.3 | ||
pmc_name_of_capability.3 | ||
pmc_read.3 | ||
pmc_set.3 | ||
pmc_start.3 | ||
pmc.3 | ||
pmc.atom.3 | ||
pmc.atomsilvermont.3 | ||
pmc.core2.3 | ||
pmc.core.3 | ||
pmc.corei7.3 | ||
pmc.corei7uc.3 | ||
pmc.h | ||
pmc.haswell.3 | ||
pmc.haswelluc.3 | ||
pmc.haswellxeon.3 | ||
pmc.iaf.3 | ||
pmc.ivybridge.3 | ||
pmc.ivybridgexeon.3 | ||
pmc.k7.3 | ||
pmc.k8.3 | ||
pmc.mips24k.3 | ||
pmc.octeon.3 | ||
pmc.p4.3 | ||
pmc.p5.3 | ||
pmc.p6.3 | ||
pmc.sandybridge.3 | ||
pmc.sandybridgeuc.3 | ||
pmc.sandybridgexeon.3 | ||
pmc.soft.3 | ||
pmc.tsc.3 | ||
pmc.ucf.3 | ||
pmc.westmere.3 | ||
pmc.westmereuc.3 | ||
pmcformat.h | ||
pmclog.3 | ||
pmclog.c | ||
pmclog.h |