]> git.baikalelectronics.ru Git - kernel.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)
committerIngo Molnar <mingo@kernel.org>
Fri, 14 Aug 2020 10:35:11 +0000 (12:35 +0200)
commit6225fc15d0f60c38e4a27609af84a77729b7ddc9
tree8c674b338a7dd5c408e13814ea6a2ea6f17d43b3
parent620f6c7d72a68e8b039358ce5c34f9fb59334bd9
perf/x86/rapl: Fix missing psys sysfs attributes

This fixes a problem introduced by commit:

  3fcb86a4e2ab ("perf/x86/rapl: Use new MSR detection interface")

that perf event sysfs attributes for psys RAPL domain are missing.

Fixes: 3fcb86a4e2ab ("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
arch/x86/events/rapl.c