|
@@ -652,12 +652,6 @@ static int is_arm_pmu_core(const char *name)
|
|
|
if (stat(path, &st) == 0)
|
|
|
return 1;
|
|
|
|
|
|
- /* Look for cpu sysfs (specific to s390) */
|
|
|
- scnprintf(path, PATH_MAX, "%s/bus/event_source/devices/%s",
|
|
|
- sysfs, name);
|
|
|
- if (stat(path, &st) == 0 && !strncmp(name, "cpum_", 5))
|
|
|
- return 1;
|
|
|
-
|
|
|
return 0;
|
|
|
}
|
|
|
|