opnsense-src/sys/dev/hwpmc
John Baldwin ca341f3cf5 hwpmc: Permit the minimum sampling count to be set as a sysctl.
A rarely occurring event (e.g. an event that occurs less than 1000
times during execution of a program) may require a lower minimum
threshold than 1000.  Replace the hardcoded 1000 with a sysctl that
the administrator can use to permit smaller sampling count values.

Reviewed by:	mhorne, mav
Sponsored by:	University of Cambridge, Google, Inc.
Differential Revision:	https://reviews.freebsd.org/D35400
2022-06-09 11:05:34 -07:00
..
hwpmc_amd.c hwpmc: Fix amd/arm64/armv7/uncore sampling overflow race 2022-01-10 14:30:05 +00: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-04-04 22:29:33 -06:00
hwpmc_arm64.c hwpmc: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:22 -07:00
hwpmc_arm64.h arm64: Fix finding the pmc event ID 2021-04-08 07:52:21 +00:00
hwpmc_arm64_md.c hwpmc_arm64: remove write only variables and the computations they do 2022-04-05 21:42:05 -06:00
hwpmc_armv7.c hwpmc: Use __diagused for variables only used in KASSERT(). 2022-04-13 16:08:22 -07: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_core.c hwpmc: Add IDs for few more Intel Atom CPUs. 2022-06-02 22:55:42 -04:00
hwpmc_core.h hwpmc: Bump Intel's IA32_PERFEVTSELx width to 64 bits. 2022-06-02 13:08:55 -04:00
hwpmc_e500.c hwpmc: consistently validate PMC class in allocation method 2021-08-30 16:12:59 -03:00
hwpmc_intel.c hwpmc: Add IDs for few more Intel Atom CPUs. 2022-06-02 22:55:42 -04:00
hwpmc_logging.c hwpmc: Increase thread priority while iterating CPUs. 2022-06-06 22:51:01 -04:00
hwpmc_mod.c hwpmc: Permit the minimum sampling count to be set as a sysctl. 2022-06-09 11:05:34 -07: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: Make powerpc memory allocation alike to x86. 2022-06-01 14:53:04 -04:00
hwpmc_powerpc.h hwpmc: Make powerpc memory allocation alike to x86. 2022-06-01 14:53:04 -04:00
hwpmc_ppc970.c ppc hwpmc: Remove unused variables. 2022-04-12 14:58:58 -07: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-15 15:15:55 +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 2021-08-30 16:12:59 -03: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: Skip GLOBAL_CTRL updates on stop_pmc(). 2022-06-02 18:35:55 -04: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 Annotate amd64 stack unwinders with __nomemorysanitize 2021-07-23 10:47:13 -04:00
pmc_events.h hwpmc: remove mips event definitions 2022-01-28 16:37:28 -04:00