Skip to content

Commit 4bb5fcb

Browse files
zhang-ruiIngo Molnar
authored andcommitted
perf/x86/rapl: Fix missing psys sysfs attributes
This fixes a problem introduced by commit: 5fb5273 ("perf/x86/rapl: Use new MSR detection interface") that perf event sysfs attributes for psys RAPL domain are missing. Fixes: 5fb5273 ("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
1 parent b55b3fd commit 4bb5fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/events/rapl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ static const struct attribute_group *rapl_attr_update[] = {
665665
&rapl_events_pkg_group,
666666
&rapl_events_ram_group,
667667
&rapl_events_gpu_group,
668-
&rapl_events_gpu_group,
668+
&rapl_events_psys_group,
669669
NULL,
670670
};
671671

0 commit comments

Comments
 (0)