freebsd-dev/sys/dev/hwpmc
Mitchell Horne 39f92a76a9 hwpmc: pass pmc pointer to more class methods
In many cases this avoids an extra lookup, since the callers always have
pm at hand. We can also eliminate several assertions, mostly for pm !=
NULL. The class methods are an internal interface, and the callers
already handle such a scenario. No functional change intended.

Reviewed by:	jkoshy
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D39915
2023-05-06 14:49:19 -03:00
..
hwpmc_amd.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_amd.h
hwpmc_arm64_md.c hwpmc: use kstack_contains() 2023-05-06 14:49:19 -03:00
hwpmc_arm64.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_arm64.h
hwpmc_arm.c hwpmc: use kstack_contains() 2023-05-06 14:49:19 -03:00
hwpmc_armv7.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_armv7.h
hwpmc_cmn600.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_cmn600.h
hwpmc_core.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_core.h
hwpmc_dmc620.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_dmc620.h Fix the SPDX-License-Identifier in DMC-620 files 2022-12-22 10:36:18 +00:00
hwpmc_e500.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_intel.c hwpmc: trim obsolete Intel CPU and class defs 2023-05-06 14:49:18 -03:00
hwpmc_logging.c hwpmc_logging: less macro magic for type names 2023-05-06 14:49:19 -03:00
hwpmc_mod.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_mpc7xxx.c
hwpmc_power8.c
hwpmc_powerpc.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_powerpc.h hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_ppc970.c
hwpmc_riscv.h
hwpmc_soft.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_soft.h
hwpmc_tsc.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_tsc.h
hwpmc_uncore.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_uncore.h
hwpmc_x86.c hwpmc: use kstack_contains() 2023-05-06 14:49:19 -03:00
pmc_events.h pmc_events.h: event list formatting 2023-05-06 14:49:18 -03:00
pmu_dmc620_reg.h Fix the SPDX-License-Identifier in DMC-620 files 2022-12-22 10:36:18 +00:00
pmu_dmc620.c hwpmc: Don't wrap entire files in #ifdef DEV_ACPI. 2023-03-01 10:31:53 -08:00