Home
last modified time | relevance | path

Searched refs:color_fprintf (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/tools/perf/util/hisi-ptt-decoder/
H A Dhisi-ptt-pkt-decoder.c96 color_fprintf(stdout, color, " %08x: ", pos); in hisi_ptt_print_pkt()
98 color_fprintf(stdout, color, "%02x ", buf[pos + i]); in hisi_ptt_print_pkt()
100 color_fprintf(stdout, color, " "); in hisi_ptt_print_pkt()
101 color_fprintf(stdout, color, " %s\n", desc); in hisi_ptt_print_pkt()
130 color_fprintf(stdout, color, " %08x: ", pos); in hisi_ptt_4dw_print_dw0()
132 color_fprintf(stdout, color, "%02x ", buf[pos + i]); in hisi_ptt_4dw_print_dw0()
134 color_fprintf(stdout, color, " "); in hisi_ptt_4dw_print_dw0()
136 color_fprintf(stdout, color, in hisi_ptt_4dw_print_dw0()
/openbmc/linux/tools/perf/util/
H A Ddebug.c169 printed += color_fprintf(fp, color, "\n. ... raw event: size %d bytes\n", in trace_event_printer()
176 printed += color_fprintf(fp, color, " %04x: ", val); in trace_event_printer()
179 printed += color_fprintf(fp, color, " %02x", val); in trace_event_printer()
182 printed += color_fprintf(fp, color, " "); in trace_event_printer()
185 printed += color_fprintf(fp, color, " "); in trace_event_printer()
188 printed += color_fprintf(fp, color, "%c", in trace_event_printer()
192 printed += color_fprintf(fp, color, " "); in trace_event_printer()
195 printed += color_fprintf(fp, color, "\n"); in trace_event_printer()
H A Ds390-sample-raw.c102 color_fprintf(stdout, color, " [%#08zx] Trailer:%c%c%c%c%c" in s390_cpumcfdg_dumptrail()
108 color_fprintf(stdout, color, "\t\t1:%lx 2:%lx 3:%lx TOD-Base:%#llx" in s390_cpumcfdg_dumptrail()
201 color_fprintf(stdout, color, " [%#08zx] Counterset:%d" in s390_cpumcfdg_dump()
206 color_fprintf(stdout, color, in s390_cpumcfdg_dump()
H A Dhisi-ptt.c63 color_fprintf(stdout, color, ". ... HISI PTT data: size %zu bytes\n", in hisi_ptt_dump()
69 color_fprintf(stdout, color, " Bad packet!\n"); in hisi_ptt_dump()
H A Dcolor.c85 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) in color_fprintf() function
148 r = color_fprintf(fp, color, fmt, percent); in percent_color_fprintf()
H A Dintel-bts.c93 color_fprintf(stdout, color, in intel_bts_dump()
103 color_fprintf(stdout, color, " %08x: ", pos); in intel_bts_dump()
105 color_fprintf(stdout, color, " %02x", buf[i]); in intel_bts_dump()
107 color_fprintf(stdout, color, " "); in intel_bts_dump()
110 color_fprintf(stdout, color, " %"PRIx64" -> %"PRIx64" %s\n", in intel_bts_dump()
116 color_fprintf(stdout, color, " Bad record!\n"); in intel_bts_dump()
H A Dcolor.h40 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...);
H A Darm-spe.c110 color_fprintf(stdout, color, in arm_spe_dump()
121 color_fprintf(stdout, color, " %08x: ", pos); in arm_spe_dump()
123 color_fprintf(stdout, color, " %02x", buf[i]); in arm_spe_dump()
125 color_fprintf(stdout, color, " "); in arm_spe_dump()
130 color_fprintf(stdout, color, " %s\n", desc); in arm_spe_dump()
132 color_fprintf(stdout, color, " Bad packet!\n"); in arm_spe_dump()
H A Ds390-cpumsf.c271 color_fprintf(stdout, color, " [%#08zx] Basic Def:%04x Inst:%#04x" in s390_cpumsf_basic_show()
304 color_fprintf(stdout, color, " [%#08zx] Diag Def:%04x %c\n", in s390_cpumsf_diag_show()
346 color_fprintf(stdout, color, " [%#08zx] Trailer %c%c%c bsdes:%d" in s390_cpumsf_trailer_show()
442 color_fprintf(stdout, color, in s390_cpumsf_dump()
H A Dannotate.c1495 color_fprintf(stdout, annotate__address_color(br), " %*" PRIx64 ":", addr_fmt_width, addr); in disasm_line__print()
1496 color_fprintf(stdout, annotate__asm_color(br), "%s", dl->al.line); in disasm_line__print()
1555 color_fprintf(stdout, color, " %11" PRIu64, in annotation_line__print()
1558 color_fprintf(stdout, color, " %7" PRIu64, in annotation_line__print()
1561 color_fprintf(stdout, color, " %7.2f", percent); in annotation_line__print()
1575 color_fprintf(stdout, color, " // %s", al->path); in annotation_line__print()
2489 color_fprintf(stdout, color, " %7.2f", percent); in print_summary()
2497 color_fprintf(stdout, color, " %s\n", path); in print_summary()
H A Dintel-pt.c241 color_fprintf(stdout, color, in intel_pt_dump()
252 color_fprintf(stdout, color, " %08x: ", pos); in intel_pt_dump()
254 color_fprintf(stdout, color, " %02x", buf[i]); in intel_pt_dump()
256 color_fprintf(stdout, color, " "); in intel_pt_dump()
261 color_fprintf(stdout, color, " %s\n", desc); in intel_pt_dump()
263 color_fprintf(stdout, color, " Bad packet!\n"); in intel_pt_dump()
H A Dcs-etm.c636 color_fprintf(stdout, color, " %s", pkt_string); in cs_etm__packet_dump()
638 color_fprintf(stdout, color, " %s\n", pkt_string); in cs_etm__packet_dump()
744 color_fprintf(stdout, color, in cs_etm__dump_event()
H A Dprobe-event.c1001 color_fprintf(stdout, color, prefix, l); in __show_one_line()
1003 color_fprintf(stdout, color, "%s", buf); in __show_one_line()
H A Dstat-display.c412 n += color_fprintf(out, color, fmt, val); in print_metric_std()
/openbmc/linux/tools/perf/tests/
H A Dbuiltin-test.c288 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip (%s)\n", reason); in test_and_print()
290 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip\n"); in test_and_print()
295 color_fprintf(stderr, PERF_COLOR_RED, " FAILED!\n"); in test_and_print()
358 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip (user override)\n"); in run_shell_tests()
404 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip (user override)\n"); in __cmd_test()
423 color_fprintf(stderr, PERF_COLOR_YELLOW, in __cmd_test()
/openbmc/linux/tools/perf/
H A Dbuiltin-version.c34 color_fprintf(stdout, PERF_COLOR_RED, "%-3s", status); in on_off_print()
36 color_fprintf(stdout, PERF_COLOR_GREEN, "%-3s", status); in on_off_print()
H A Dbuiltin-sched.c1669 color_fprintf(stdout, color, " "); in map_switch_event()
1671 color_fprintf(stdout, cpu_color, "*"); in map_switch_event()
1679 color_fprintf(stdout, pid_color, "%2s ", curr_tr->shortname); in map_switch_event()
1681 color_fprintf(stdout, color, " "); in map_switch_event()
1688 color_fprintf(stdout, color, " %12s secs ", stimestamp); in map_switch_event()
1695 color_fprintf(stdout, pid_color, "%s => %s:%d", in map_switch_event()
1701 color_fprintf(stdout, color, " (CPU %d)", this_cpu); in map_switch_event()
1704 color_fprintf(stdout, color, "\n"); in map_switch_event()
H A Dbuiltin-trace.c1247 printed += color_fprintf(fp, PERF_COLOR_RED, "%6.3f ms", duration); in fprintf_duration()
1249 printed += color_fprintf(fp, PERF_COLOR_YELLOW, "%6.3f ms", duration); in fprintf_duration()
1251 printed += color_fprintf(fp, PERF_COLOR_NORMAL, "%6.3f ms", duration); in fprintf_duration()
1331 color_fprintf(fp, PERF_COLOR_RED, in thread__trace()
1613 color_fprintf(trace->output, PERF_COLOR_RED, in trace__process_event()
2545 color_fprintf(trace->output, PERF_COLOR_YELLOW, "continued");
H A Dbuiltin-top.c339 color_fprintf(stdout, PERF_COLOR_RED, in perf_top__print_sym_table()
H A Dbuiltin-inject.c813 color_fprintf(stderr, PERF_COLOR_RED, in perf_inject__sched_switch()
H A Dbuiltin-script.c2040 color_fprintf(mctx->fp, color, fmt, val); in script_print_metric()