1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00
freebsd/sys/dev/hwpmc
Justin Hibbits e42edd4db6 Fix a bug in hwpmc(4) callchain retrieval, for both user and kernel.
The array index for the callchain is getting double-incremented -- both in the
loop and the storing.  It should only be incremented in one location.

Also, constrain the stack pointer range check.

MFC after:	2 weeks
2014-07-03 06:52:26 +00:00
..
hwpmc_amd.c
hwpmc_amd.h
hwpmc_arm.c
hwpmc_core.c For Xeon 7500 and 48XX (Nehalem EX and Westmere EX) variants of the 2014-06-04 16:06:38 +00:00
hwpmc_core.h Remove some prototypes for undefined functions. 2014-05-15 21:19:13 +00:00
hwpmc_ia64.c
hwpmc_intel.c For Xeon 7500 and 48XX (Nehalem EX and Westmere EX) variants of the 2014-06-04 16:06:38 +00:00
hwpmc_logging.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
hwpmc_mips24k.c
hwpmc_mips.c
hwpmc_mod.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
hwpmc_mpc7xxx.c Enable and disable the PMC unit at load/unload time, respectively. 2014-04-18 06:39:00 +00:00
hwpmc_octeon.c
hwpmc_pentium.c
hwpmc_pentium.h
hwpmc_piv.c Use correct types for sizeof() in the calculations for the malloc(9) sizes [1]. 2014-03-12 10:25:26 +00:00
hwpmc_piv.h
hwpmc_powerpc.c Fix a bug in hwpmc(4) callchain retrieval, for both user and kernel. 2014-07-03 06:52:26 +00:00
hwpmc_powerpc.h Add hwpmc(4) support for the PowerPC 970 class processors, direct events. 2014-02-01 02:03:50 +00:00
hwpmc_ppc970.c Enable and disable the PMC unit at load/unload time, respectively. 2014-04-18 06:39:00 +00:00
hwpmc_ppro.c
hwpmc_ppro.h
hwpmc_soft.c
hwpmc_soft.h
hwpmc_sparc64.c
hwpmc_tsc.c
hwpmc_tsc.h
hwpmc_uncore.c Fix pointer type in call to malloc 2014-03-13 16:51:40 +00:00
hwpmc_uncore.h Remove some prototypes for undefined functions. 2014-05-15 21:19:13 +00:00
hwpmc_x86.c
hwpmc_xscale.c
hwpmc_xscale.h
pmc_events.h Add missing Ivy Bridge and Haswell events. 2014-06-02 20:50:08 +00:00