summaryrefslogtreecommitdiffstats
path: root/arch/x86/events
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2020-08-11 23:31:47 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-21 13:05:38 +0200
commit64d358a9adb5bc6567cc33f0072bda119c379d0e (patch)
tree5bfd94654d703b12e409e068661ec49a078bccd4 /arch/x86/events
parent5c90739d36ce621d6589af50b4398ceedcf4f1c7 (diff)
downloadlinux-stable-64d358a9adb5bc6567cc33f0072bda119c379d0e.tar.gz
linux-stable-64d358a9adb5bc6567cc33f0072bda119c379d0e.tar.bz2
linux-stable-64d358a9adb5bc6567cc33f0072bda119c379d0e.zip
perf/x86/rapl: Fix missing psys sysfs attributes
[ Upstream commit 4bb5fcb97a5df0bbc0a27e0252b1e7ce140a8431 ] This fixes a problem introduced by commit: 5fb5273a905c ("perf/x86/rapl: Use new MSR detection interface") that perf event sysfs attributes for psys RAPL domain are missing. Fixes: 5fb5273a905c ("perf/x86/rapl: Use new MSR detection interface") Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Kan Liang <kan.liang@linux.intel.com> Reviewed-by: Len Brown <len.brown@intel.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Link: https://lore.kernel.org/r/20200811153149.12242-2-rui.zhang@intel.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/x86/events')
-rw-r--r--arch/x86/events/rapl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/events/rapl.c b/arch/x86/events/rapl.c
index 3c222d6fdee3..187c72a58e69 100644
--- a/arch/x86/events/rapl.c
+++ b/arch/x86/events/rapl.c
@@ -642,7 +642,7 @@ static const struct attribute_group *rapl_attr_update[] = {
&rapl_events_pkg_group,
&rapl_events_ram_group,
&rapl_events_gpu_group,
- &rapl_events_gpu_group,
+ &rapl_events_psys_group,
NULL,
};