mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
Revert "perf list: Add s390 support for detailed/verbose PMU event description"
This reverts commit 038586c343
.
Fix the support of detailed/verbose PMU event description by using the
"Unit": keyword in the json files to address event names refering to the
/sys/devices/cpum_[cs]f devices.
Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Link: http://lkml.kernel.org/r/20180621080452.61012-1-tmricht@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
6cd4ac6a02
commit
b8b5ab52bc
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue