mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 15:41:36 +00:00
tools/power/x86/intel-speed-select: Allow display non-cpu power domain info
Some power domain may not have CPUs associated, allow displaying information for these non-cpu power domains. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
This commit is contained in:
parent
5f31908165
commit
2e54ba89ec
@ -682,8 +682,7 @@ void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cm
|
||||
char value[256];
|
||||
int level = 3;
|
||||
|
||||
if (id->cpu >= 0)
|
||||
level = print_package_info(id, outf);
|
||||
level = print_package_info(id, outf);
|
||||
|
||||
snprintf(header, sizeof(header), "%s", feature);
|
||||
format_and_print(outf, level + 1, header, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user