libpmc: Another update of x86 event definitions.MFC after: 1 month
pmc(3)/hwpmc(4): update supported Intel processors to rely fully on thevendor provided pmu-events tables and sundry cleanups.The vendor pmu-events tables provide counter descriptions, defaultsamp
pmc(3)/hwpmc(4): update supported Intel processors to rely fully on thevendor provided pmu-events tables and sundry cleanups.The vendor pmu-events tables provide counter descriptions, defaultsample rates, event, umask, and flag values for all the counterconfiguration permutations. Using this gives us:- much simpler kernel code for the MD component- helpful long and short event descriptions- simpler user code- sample rates that won't overload the systemUpdate man page with newer sample types and remove unused sample type.
show more ...
Revert r334242 "pmc(3)/hwpmc(4): update supported Intel processors to rely fully on the"because of squash commit messages
pmc(3)/hwpmc(4): update supported Intel processors to rely fully on thevendor provided pmu-events tables and sundry cleanups.The vendor pmu-events tables provide counter descriptions, defaultsample rates, event, umask, and flag values for all the counterconfiguration permutations. Using this gives us:- much simpler kernel code for the MD component- helpful long and short event descriptions- simpler user code- sample rates that won't overload the systemUpdate man page with newer sample types and remove unused sample type.Squashed commit of the following:commit 4459d43eff815bec08ccc5533dbe5de846f03128Author: Matt Macy <mmacy@mattmacy.io>Date: Sat May 26 00:06:31 2018 -0700 libpmc: fix pmu function signatures for non amd64commit a2cb8bbc586c65d41f9b291430a2261ec67b59feAuthor: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 22:38:11 2018 -0700 pmcstat: fix indentation of usagecommit f686954b15ff56a833ac80404898977cb80a265bAuthor: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 22:19:49 2018 -0700 pmclog(3): add callchain and pmcallocatedyn, remove pcsamplecommit 73e13a0d2e9498c81c150d14d022050cee7511bbAuthor: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 22:19:00 2018 -0700 pmclog.h: GC pcsample fieldcommit 3e93ffd65da641fa657539dad3c48e281f8b5798Author: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 22:05:57 2018 -0700 hwpmc: make Intel core CPUs use external event tablescommit 634f5fae1e1644ac324003136c66cd9c619d1c93Author: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 22:00:06 2018 -0700 pmclog: update log record types, bump PMC_MAJOR - explicitly make log record types a multiple of 8 bytes - hook in pmu event types for pmc_allocate records - remove references to no longer PCSAMPLE recordcommit 83d84fcd2d65bdf6ddcb2e155a22f0cfa2a9c225Author: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 21:52:10 2018 -0700 libpmc: add support for having vendor table driven pmc_allocatecommit 9e6ad63c40c2fce8404847ace5078ca6cb33a736Author: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 19:11:33 2018 -0700 hwpmc_core: add accessors for EVSEL & UMASK, make IAP_UMASK useful to usercommit 859dceb93daa6419a48c794db99b6758e5b041c9Author: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 19:09:45 2018 -0700 pmcstat: update usage and man page as well as make -L consistent with pmccontrolcommit 79c7d8597e28c2eb13f5f9113e65ec2792ca57b1Author: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 18:07:03 2018 -0700 pmu_util: add support for all current intel event keywordscommit d8089c7f6a6c8527f38324252b1ffb47004694c6Author: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 17:45:00 2018 -0700 add description for new argumentscommit 058336740bab53c62ec88a3a026ea848cf3878c6Author: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 17:38:15 2018 -0700 libpmc: move pmu_events table and pmu_utils out of libpmcstat so that they can be used by pmc_allocatecommit 049b66b382e2f833c3f47bc8df9e750cb265709fAuthor: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 16:12:41 2018 -0700 pmcstat: hook pmu_events counter description utility routines incommit f5e01e7b37a691dc045e1aa16b3ebdd162515de8Author: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 16:11:59 2018 -0700 pmu_events: add utility routines for listing counters and their descriptionscommit cba4d4f8907f772279f86f18f915e0d74d33ac56Author: Matt Macy <mmacy@mattmacy.io>Date: Fri May 25 16:09:50 2018 -0700 pmu-events: expand out skylake regex to simplify string matches