]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf/x86/rapl: Fix missing psys sysfs attributes
authorZhang Rui <rui.zhang@intel.com>
Tue, 11 Aug 2020 15:31:47 +0000 (23:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 11:07:43 +0000 (13:07 +0200)
commit6db9914337d217b7c6aa71b743e9a8cb8c0ddb2c
treed3aa4d699937ddd6d561945d06cfd5a05b5ce9c2
parent8222753bd467c95c3218698fe332326fc9cf7952
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>
arch/x86/events/rapl.c