]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libpmc: Match on the cpuid with a regex
authormanu <manu@FreeBSD.org>
Fri, 8 Nov 2019 16:56:48 +0000 (16:56 +0000)
committermanu <manu@FreeBSD.org>
Fri, 8 Nov 2019 16:56:48 +0000 (16:56 +0000)
commit11ee0a3cce176b18d7539a3d819b67d37539f37f
treece8d5f3148216cc845d25e30e56c2c8057ea2971
parentbec84982251ec2e0017d89ac97ce51cdf75b9f1c
libpmc: Match on the cpuid with a regex

The CPUID is, or can be, a regex to be matched.
Use regex from libc instead of strcmp

Tested-by: gallatin
MFC after: 1 week
lib/libpmc/libpmc_pmu_util.c