]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
hwpmc: Enable hwpmc support for AMD Family 17H devices
authormmacy <mmacy@FreeBSD.org>
Fri, 26 Oct 2018 05:12:56 +0000 (05:12 +0000)
committermmacy <mmacy@FreeBSD.org>
Fri, 26 Oct 2018 05:12:56 +0000 (05:12 +0000)
commit1235e4abcc9d407b7f094039bca7531f4444ccc5
tree2ef444b3c61ef4fbcee7a97dd83e94d37f2629bf
parent53c62dd4925b45a288ad56410333f128bf4d6a32
hwpmc: Enable hwpmc support for AMD Family 17H devices

Adds new counters and events for family 17H devices.
Adds libpmc support for family 17H devices.

Direct commit to 11 as this is supported by way of JSON
counter descriptions on 12 & HEAD.

Submitted by: Girish Nandibasappa
Differential Revision: https://reviews.freebsd.org/D17464
lib/libpmc/libpmc.c
sys/amd64/include/pmc_mdep.h
sys/dev/hwpmc/hwpmc_amd.c
sys/dev/hwpmc/hwpmc_amd.h
sys/dev/hwpmc/pmc_events.h
sys/sys/pmc.h