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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Kan Liang <[email protected]> Reviewed-by: Len Brown <[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected]
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)