opnsense-src/sys/dev/hwpmc
Jessica Clarke 53d0b9e438 pmc: Provide full path to modules from kernel linker
This unifies the user object and kernel module paths in libpmcstat,
allows modules loaded from non-standard locations (e.g. from a user's
home directory when testing) to be found and, since buffer is what all
the warnings here use (they were never updated when buffer_modules were
added to pick based on where the file was found) has the side-effect of
ensuring the messages are correct.

This includes obsoleting the now-superfluous -k option in pmcstat.

This change breaks the hwpmc ABI and will be followed by a bump to the
pmc major version.

Reviewed by:	jhb, jkoshy, mhorne
Differential Revision:	https://reviews.freebsd.org/D40048
2023-05-31 00:15:34 +01:00
..
hwpmc_amd.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_amd.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_arm.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06: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_arm64_md.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 spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_core.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06: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 spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_logging.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_mod.c pmc: Provide full path to modules from kernel linker 2023-05-31 00:15:34 +01:00
hwpmc_mpc7xxx.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_power8.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_powerpc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_powerpc.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_ppc970.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_riscv.h
hwpmc_soft.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_soft.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_tsc.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_tsc.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_uncore.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_uncore.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hwpmc_x86.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pmc_events.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pmu_dmc620.c hwpmc: Don't wrap entire files in #ifdef DEV_ACPI. 2023-03-01 10:31:53 -08:00
pmu_dmc620_reg.h Fix the SPDX-License-Identifier in DMC-620 files 2022-12-22 10:36:18 +00:00