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 arm64: Fix finding the pmc event ID 2021-04-08 07:52:21 +00:00
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 Fix the SPDX-License-Identifier in CMN-600 files 2022-12-22 10:36:18 +00:00
hwpmc_core.c hwpmc: pass pmc pointer to more class methods 2023-05-06 14:49:19 -03:00
hwpmc_core.h hwpmc: Bump Intel's IA32_PERFEVTSELx width to 64 bits. 2022-06-02 13:08:55 -04:00
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 ppc hwpmc: Remove unused variables. 2022-04-12 14:58:58 -07:00
hwpmc_power8.c hwpmc: consistently validate PMC class in allocation method 2021-08-30 16:12:59 -03:00
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 ppc hwpmc: Remove unused variables. 2022-04-12 14:58:58 -07:00
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: Bump Intel's IA32_PERFEVTSELx width to 64 bits. 2022-06-02 13:08:55 -04:00
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