opnsense-src/sys/dev/hwpmc
John Baldwin f5858d5551 arm64 hwpmc: Support restricting counters to user or kernel mode.
Support the "usr" and "os" qualifiers on arm64 events to restrict
event counting to either usermode or the kernel, respectively.  If
neither qualifier is given, events are counted in both.

Reviewed by:	emaste
Sponsored by:	University of Cambridge, Google, Inc.
Differential Revision:	https://reviews.freebsd.org/D34527

(cherry picked from commit 6bb7ba4aa1)
2022-11-10 13:04:56 -08:00
..
hwpmc_amd.c hwpmc: don't validate capabilities in allocation method 2022-07-05 12:39:02 -04:00
hwpmc_amd.h hwpmc : fix AMD perf counter MSR access 2019-11-07 19:54:24 +00:00
hwpmc_arm.c pmc_save_user_callchain: eliminate write only td variable 2022-10-01 22:25:52 -06:00
hwpmc_arm64.c arm64 hwpmc: Support restricting counters to user or kernel mode. 2022-11-10 13:04:56 -08:00
hwpmc_arm64.h arm64: Fix finding the pmc event ID 2021-07-29 12:00:37 -03:00
hwpmc_arm64_md.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-22 10:11:29 +01:00
hwpmc_armv7.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-22 10:11:29 +01:00
hwpmc_armv7.h o Rework ARMv7 events list using aliases - same way as we have for arm64. 2015-06-10 12:42:30 +00:00
hwpmc_beri.c Add support for BERI statcounters. 2019-09-18 16:13:50 +00:00
hwpmc_beri.h Add support for BERI statcounters. 2019-09-18 16:13:50 +00:00
hwpmc_core.c hwpmc: Avoid touching MSR_DEBUGCTLMSR inside VMs. 2022-09-07 20:30:30 -04:00
hwpmc_core.h hwpmc: Bump Intel's IA32_PERFEVTSELx width to 64 bits. 2022-07-04 13:48:10 -04:00
hwpmc_e500.c hwpmc: consistently validate PMC class in allocation method 2022-07-05 12:38:52 -04:00
hwpmc_intel.c hwpmc: Add IDs for few more Intel Atom CPUs. 2022-07-04 13:48:10 -04:00
hwpmc_logging.c Adjust pcmlog_{initialize,shutdown}() definitions to avoid clang 15 warning 2022-07-24 13:00:07 +02:00
hwpmc_mips.c hwpmc: update files missed by r334827 2018-06-08 17:41:49 +00:00
hwpmc_mips24k.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_mips74k.c sys: use our nitems() macro when param.h is available. 2016-04-21 19:40:10 +00:00
hwpmc_mod.c Adjust pmc_thread_descriptor_pool_drain() definition to avoid clang 15 warning 2022-07-24 13:00:08 +02:00
hwpmc_mpc7xxx.c hwpmc: consistently validate PMC class in allocation method 2022-07-05 12:38:52 -04:00
hwpmc_octeon.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_power8.c [PowerPC] hwpmc: add support for POWER8/9 PMCs 2020-11-05 16:36:39 +00:00
hwpmc_powerpc.c Adjust function definition in hwpmc to avoid clang 15 warning 2022-08-22 10:11:29 +01:00
hwpmc_powerpc.h hwpmc: consistently validate PMC class in allocation method 2022-07-05 12:38:52 -04:00
hwpmc_ppc970.c hwpmc: consistently validate PMC class in allocation method 2022-07-05 12:38:52 -04:00
hwpmc_riscv.h Welcome the RISC-V 64-bit kernel. 2016-01-29 15:12:31 +00:00
hwpmc_soft.c hwpmc: mostly clean up cc --analyze 2021-07-25 07:00:05 +00:00
hwpmc_soft.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_tsc.c hwpmc: don't validate capabilities in allocation method 2022-07-05 12:39:02 -04:00
hwpmc_tsc.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hwpmc_uncore.c hwpmc: don't validate capabilities in allocation method 2022-07-05 12:39:02 -04:00
hwpmc_uncore.h hwpmc: Bump Intel's IA32_PERFEVTSELx width to 64 bits. 2022-07-04 13:48:10 -04:00
hwpmc_x86.c Adjust pcm_md_initialize() definition to avoid clang 15 warning 2022-07-24 13:00:08 +02:00
pmc_events.h libpmc: fix the 'cycles' event alias on x86 2021-10-15 12:21:35 -03:00