[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-b8b5ab52bc3a0423080783ae563801077f7ea400@git.kernel.org>
Date: Wed, 25 Jul 2018 13:41:59 -0700
From: tip-bot for Thomas Richter <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: brueckner@...ux.ibm.com, linux-kernel@...r.kernel.org,
tmricht@...ux.ibm.com, tglx@...utronix.de, mingo@...nel.org,
schwidefsky@...ibm.com, acme@...hat.com, hpa@...or.com,
brueckner@...ux.vnet.ibm.com, heiko.carstens@...ibm.com
Subject: [tip:perf/core] Revert "perf list: Add s390 support for
detailed/verbose PMU event description"
Commit-ID: b8b5ab52bc3a0423080783ae563801077f7ea400
Gitweb: https://git.kernel.org/tip/b8b5ab52bc3a0423080783ae563801077f7ea400
Author: Thomas Richter <tmricht@...ux.ibm.com>
AuthorDate: Thu, 21 Jun 2018 10:04:49 +0200
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Tue, 24 Jul 2018 14:48:58 -0300
Revert "perf list: Add s390 support for detailed/verbose PMU event description"
This reverts commit 038586c34301578e538f6c5aa79ca82bce1b9152.
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@...ux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@...ux.ibm.com>
Cc: Heiko Carstens <heiko.carstens@...ibm.com>
Cc: Hendrik Brueckner <brueckner@...ux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@...ibm.com>
Link: http://lkml.kernel.org/r/20180621080452.61012-1-tmricht@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/util/pmu.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c
index 3ba6a1742f91..afd68524ffa9 100644
--- a/tools/perf/util/pmu.c
+++ b/tools/perf/util/pmu.c
@@ -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;
}
Powered by blists - more mailing lists