aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/pmu.c')
-rw-r--r--tools/perf/util/pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c
index 61a5e5027338..af4bedf4cf98 100644
--- a/tools/perf/util/pmu.c
+++ b/tools/perf/util/pmu.c
@@ -586,7 +586,7 @@ char * __weak get_cpuid_str(struct perf_pmu *pmu __maybe_unused)
586 * cpuid string generated on this platform. 586 * cpuid string generated on this platform.
587 * Otherwise return non-zero. 587 * Otherwise return non-zero.
588 */ 588 */
589int __weak strcmp_cpuid_str(const char *mapcpuid, const char *cpuid) 589int strcmp_cpuid_str(const char *mapcpuid, const char *cpuid)
590{ 590{
591 regex_t re; 591 regex_t re;
592 regmatch_t pmatch[1]; 592 regmatch_t pmatch[1];