• Home
  • Raw
  • Download

Lines Matching refs:header

84 static void format_and_print_txt(FILE *outf, int level, char *header,  in format_and_print_txt()  argument
102 if (header && value) { in format_and_print_txt()
104 fprintf(outf, "%s:%s\n", header, value); in format_and_print_txt()
105 } else if (header) { in format_and_print_txt()
107 fprintf(outf, "%s\n", header); in format_and_print_txt()
112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print() argument
119 format_and_print_txt(outf, level, header, value); in format_and_print()
124 if (header) in format_and_print()
143 fprintf(outf, "%s\"%s\": ", delimiters, header); in format_and_print()
153 if (i == level && header) in format_and_print()
160 if (header) in format_and_print()
162 header); in format_and_print()
171 char header[256]; in print_package_info() local
174 snprintf(header, sizeof(header), "package-%d:die-%d:cpu-%d", in print_package_info()
177 format_and_print(outf, 1, header, NULL); in print_package_info()
180 snprintf(header, sizeof(header), "package-%d", in print_package_info()
182 format_and_print(outf, 1, header, NULL); in print_package_info()
183 snprintf(header, sizeof(header), "die-%d", get_physical_die_id(cpu)); in print_package_info()
184 format_and_print(outf, 2, header, NULL); in print_package_info()
185 snprintf(header, sizeof(header), "cpu-%d", cpu); in print_package_info()
186 format_and_print(outf, 3, header, NULL); in print_package_info()
195 char header[256]; in _isst_pbf_display_information() local
198 snprintf(header, sizeof(header), "speed-select-base-freq-properties"); in _isst_pbf_display_information()
199 format_and_print(outf, disp_level, header, NULL); in _isst_pbf_display_information()
201 snprintf(header, sizeof(header), "high-priority-base-frequency(MHz)"); in _isst_pbf_display_information()
204 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
206 snprintf(header, sizeof(header), "high-priority-cpu-mask"); in _isst_pbf_display_information()
209 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
211 snprintf(header, sizeof(header), "high-priority-cpu-list"); in _isst_pbf_display_information()
215 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
217 snprintf(header, sizeof(header), "low-priority-base-frequency(MHz)"); in _isst_pbf_display_information()
220 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
225 snprintf(header, sizeof(header), "tjunction-temperature(C)"); in _isst_pbf_display_information()
227 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
229 snprintf(header, sizeof(header), "thermal-design-power(W)"); in _isst_pbf_display_information()
231 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
240 char header[256]; in _isst_fact_display_information() local
258 snprintf(header, sizeof(header), "speed-select-turbo-freq-properties"); in _isst_fact_display_information()
259 format_and_print(outf, base_level, header, NULL); in _isst_fact_display_information()
267 snprintf(header, sizeof(header), "bucket-%d", j); in _isst_fact_display_information()
268 format_and_print(outf, base_level + 1, header, NULL); in _isst_fact_display_information()
270 snprintf(header, sizeof(header), "high-priority-cores-count"); in _isst_fact_display_information()
273 format_and_print(outf, base_level + 2, header, value); in _isst_fact_display_information()
276 snprintf(header, sizeof(header), in _isst_fact_display_information()
280 format_and_print(outf, base_level + 2, header, value); in _isst_fact_display_information()
284 snprintf(header, sizeof(header), in _isst_fact_display_information()
288 format_and_print(outf, base_level + 2, header, value); in _isst_fact_display_information()
292 snprintf(header, sizeof(header), in _isst_fact_display_information()
297 format_and_print(outf, base_level + 2, header, value); in _isst_fact_display_information()
300 snprintf(header, sizeof(header), in _isst_fact_display_information()
302 format_and_print(outf, base_level + 1, header, NULL); in _isst_fact_display_information()
303 snprintf(header, sizeof(header), "low-priority-max-frequency(MHz)"); in _isst_fact_display_information()
307 format_and_print(outf, base_level + 2, header, value); in _isst_fact_display_information()
308 snprintf(header, sizeof(header), in _isst_fact_display_information()
313 format_and_print(outf, base_level + 2, header, value); in _isst_fact_display_information()
314 snprintf(header, sizeof(header), in _isst_fact_display_information()
319 format_and_print(outf, base_level + 2, header, value); in _isst_fact_display_information()
325 char header[256]; in isst_ctdp_display_core_info() local
330 snprintf(header, sizeof(header), "package-%d:die-%d:cpu-%d", in isst_ctdp_display_core_info()
333 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
335 snprintf(header, sizeof(header), "package-%d", in isst_ctdp_display_core_info()
337 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
338 snprintf(header, sizeof(header), "die-%d", in isst_ctdp_display_core_info()
340 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
341 snprintf(header, sizeof(header), "cpu-%d", cpu); in isst_ctdp_display_core_info()
342 format_and_print(outf, level++, header, NULL); in isst_ctdp_display_core_info()
359 char header[256]; in isst_ctdp_display_information() local
375 snprintf(header, sizeof(header), "perf-profile-level-%d", in isst_ctdp_display_information()
377 format_and_print(outf, level + 1, header, NULL); in isst_ctdp_display_information()
379 snprintf(header, sizeof(header), "cpu-count"); in isst_ctdp_display_information()
383 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
388 snprintf(header, sizeof(header), "enable-cpu-count"); in isst_ctdp_display_information()
390 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
394 snprintf(header, sizeof(header), "enable-cpu-mask"); in isst_ctdp_display_information()
398 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
400 snprintf(header, sizeof(header), "enable-cpu-list"); in isst_ctdp_display_information()
404 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
407 snprintf(header, sizeof(header), "thermal-design-power-ratio"); in isst_ctdp_display_information()
409 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
411 snprintf(header, sizeof(header), "base-frequency(MHz)"); in isst_ctdp_display_information()
416 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
419 snprintf(header, sizeof(header), "base-frequency-avx2(MHz)"); in isst_ctdp_display_information()
422 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
426 snprintf(header, sizeof(header), "base-frequency-avx512(MHz)"); in isst_ctdp_display_information()
429 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
433 snprintf(header, sizeof(header), "uncore-frequency-min(MHz)"); in isst_ctdp_display_information()
436 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
440 snprintf(header, sizeof(header), "uncore-frequency-max(MHz)"); in isst_ctdp_display_information()
443 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
447 snprintf(header, sizeof(header), "mem-frequency(MHz)"); in isst_ctdp_display_information()
450 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
453 snprintf(header, sizeof(header), in isst_ctdp_display_information()
462 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
464 snprintf(header, sizeof(header), in isst_ctdp_display_information()
473 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
475 snprintf(header, sizeof(header), in isst_ctdp_display_information()
484 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
496 snprintf(header, sizeof(header), "thermal-design-power(W)"); in isst_ctdp_display_information()
498 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
502 snprintf(header, sizeof(header), "tjunction-max(C)"); in isst_ctdp_display_information()
504 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
507 snprintf(header, sizeof(header), "turbo-ratio-limits-sse"); in isst_ctdp_display_information()
508 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
510 snprintf(header, sizeof(header), "bucket-%d", j); in isst_ctdp_display_information()
511 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
513 snprintf(header, sizeof(header), "core-count"); in isst_ctdp_display_information()
515 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
517 snprintf(header, sizeof(header), in isst_ctdp_display_information()
522 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
526 snprintf(header, sizeof(header), "turbo-ratio-limits-avx2"); in isst_ctdp_display_information()
527 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
529 snprintf(header, sizeof(header), "bucket-%d", j); in isst_ctdp_display_information()
530 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
532 snprintf(header, sizeof(header), "core-count"); in isst_ctdp_display_information()
534 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
536 snprintf(header, sizeof(header), "max-turbo-frequency(MHz)"); in isst_ctdp_display_information()
538 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
543 snprintf(header, sizeof(header), "turbo-ratio-limits-avx512"); in isst_ctdp_display_information()
544 format_and_print(outf, level + 2, header, NULL); in isst_ctdp_display_information()
546 snprintf(header, sizeof(header), "bucket-%d", j); in isst_ctdp_display_information()
547 format_and_print(outf, level + 3, header, NULL); in isst_ctdp_display_information()
549 snprintf(header, sizeof(header), "core-count"); in isst_ctdp_display_information()
551 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
553 snprintf(header, sizeof(header), "max-turbo-frequency(MHz)"); in isst_ctdp_display_information()
555 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
611 char header[256]; in isst_clos_display_information() local
617 snprintf(header, sizeof(header), "core-power"); in isst_clos_display_information()
618 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_information()
620 snprintf(header, sizeof(header), "clos"); in isst_clos_display_information()
622 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
624 snprintf(header, sizeof(header), "epp"); in isst_clos_display_information()
626 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
628 snprintf(header, sizeof(header), "clos-proportional-priority"); in isst_clos_display_information()
630 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
632 snprintf(header, sizeof(header), "clos-min"); in isst_clos_display_information()
634 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
636 snprintf(header, sizeof(header), "clos-max"); in isst_clos_display_information()
641 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
643 snprintf(header, sizeof(header), "clos-desired"); in isst_clos_display_information()
645 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
654 char header[256]; in isst_clos_display_clos_information() local
660 snprintf(header, sizeof(header), "core-power"); in isst_clos_display_clos_information()
661 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_clos_information()
663 snprintf(header, sizeof(header), "support-status"); in isst_clos_display_clos_information()
668 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
670 snprintf(header, sizeof(header), "enable-status"); in isst_clos_display_clos_information()
675 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
677 snprintf(header, sizeof(header), "clos-enable-status"); in isst_clos_display_clos_information()
682 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
684 snprintf(header, sizeof(header), "priority-type"); in isst_clos_display_clos_information()
689 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
696 char header[256]; in isst_clos_display_assoc_information() local
702 snprintf(header, sizeof(header), "get-assoc"); in isst_clos_display_assoc_information()
703 format_and_print(outf, level + 1, header, NULL); in isst_clos_display_assoc_information()
705 snprintf(header, sizeof(header), "clos"); in isst_clos_display_assoc_information()
707 format_and_print(outf, level + 2, header, value); in isst_clos_display_assoc_information()
715 char header[256]; in isst_display_result() local
722 snprintf(header, sizeof(header), "%s", feature); in isst_display_result()
723 format_and_print(outf, level + 1, header, NULL); in isst_display_result()
724 snprintf(header, sizeof(header), "%s", cmd); in isst_display_result()
729 format_and_print(outf, level + 2, header, value); in isst_display_result()
738 char header[256]; in isst_display_error_info_message() local
758 snprintf(header, sizeof(header), "Error%d", error_index++); in isst_display_error_info_message()
760 snprintf(header, sizeof(header), "Information:%d", error_index++); in isst_display_error_info_message()
761 format_and_print(outf, 1, header, NULL); in isst_display_error_info_message()
763 snprintf(header, sizeof(header), "message"); in isst_display_error_info_message()
769 format_and_print(outf, 2, header, value); in isst_display_error_info_message()