forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/tools/perf/arch/arm/util/pmu.c
....@@ -7,8 +7,8 @@
77 #include <string.h>
88 #include <linux/coresight-pmu.h>
99 #include <linux/perf_event.h>
10
+#include <linux/string.h>
1011
11
-#include "cs-etm.h"
1212 #include "arm-spe.h"
1313 #include "../../util/pmu.h"
1414
....@@ -19,7 +19,6 @@
1919 if (!strcmp(pmu->name, CORESIGHT_ETM_PMU_NAME)) {
2020 /* add ETM default config here */
2121 pmu->selectable = true;
22
- pmu->set_drv_config = cs_etm_set_drv_config;
2322 #if defined(__aarch64__)
2423 } else if (strstarts(pmu->name, ARM_SPE_PMU_NAME)) {
2524 return arm_spe_pmu_default_config(pmu);