Home
last modified time | relevance | path

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

/Linux-v5.4/tools/perf/util/
Ddebug.c126 printed += color_fprintf(fp, color, "\n. ... raw event: size %d bytes\n", in trace_event_printer()
133 printed += color_fprintf(fp, color, " %04x: ", val); in trace_event_printer()
136 printed += color_fprintf(fp, color, " %02x", val); in trace_event_printer()
139 printed += color_fprintf(fp, color, " "); in trace_event_printer()
142 printed += color_fprintf(fp, color, " "); in trace_event_printer()
145 printed += color_fprintf(fp, color, "%c", in trace_event_printer()
149 printed += color_fprintf(fp, color, " "); in trace_event_printer()
152 printed += color_fprintf(fp, color, "\n"); in trace_event_printer()
Darm-spe.c58 color_fprintf(stdout, color, in arm_spe_dump()
69 color_fprintf(stdout, color, " %08x: ", pos); in arm_spe_dump()
71 color_fprintf(stdout, color, " %02x", buf[i]); in arm_spe_dump()
73 color_fprintf(stdout, color, " "); in arm_spe_dump()
78 color_fprintf(stdout, color, " %s\n", desc); in arm_spe_dump()
80 color_fprintf(stdout, color, " Bad packet!\n"); in arm_spe_dump()
Ds390-sample-raw.c101 color_fprintf(stdout, color, " [%#08zx] Trailer:%c%c%c%c%c" in s390_cpumcfdg_dumptrail()
107 color_fprintf(stdout, color, "\t\t1:%lx 2:%lx 3:%lx TOD-Base:%#llx" in s390_cpumcfdg_dumptrail()
182 color_fprintf(stdout, color, " [%#08zx] Counterset:%d" in s390_cpumcfdg_dump()
187 color_fprintf(stdout, color, in s390_cpumcfdg_dump()
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()
Dcolor.h40 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...);
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()
Ds390-cpumsf.c270 color_fprintf(stdout, color, " [%#08zx] Basic Def:%04x Inst:%#04x" in s390_cpumsf_basic_show()
303 color_fprintf(stdout, color, " [%#08zx] Diag Def:%04x %c\n", in s390_cpumsf_diag_show()
345 color_fprintf(stdout, color, " [%#08zx] Trailer %c%c%c bsdes:%d" in s390_cpumsf_trailer_show()
441 color_fprintf(stdout, color, in s390_cpumsf_dump()
Dannotate.c1360 color_fprintf(stdout, annotate__address_color(br), " %*" PRIx64 ":", addr_fmt_width, addr); in disasm_line__print()
1361 color_fprintf(stdout, annotate__asm_color(br), "%s", dl->al.line); in disasm_line__print()
1421 color_fprintf(stdout, color, " %s", al->path); in annotation_line__print()
1435 color_fprintf(stdout, color, " %11" PRIu64, in annotation_line__print()
1438 color_fprintf(stdout, color, " %7" PRIu64, in annotation_line__print()
1441 color_fprintf(stdout, color, " %7.2f", percent); in annotation_line__print()
2226 color_fprintf(stdout, color, " %7.2f", percent); in print_summary()
2234 color_fprintf(stdout, color, " %s\n", path); in print_summary()
Dintel-pt.c189 color_fprintf(stdout, color, in intel_pt_dump()
200 color_fprintf(stdout, color, " %08x: ", pos); in intel_pt_dump()
202 color_fprintf(stdout, color, " %02x", buf[i]); in intel_pt_dump()
204 color_fprintf(stdout, color, " "); in intel_pt_dump()
209 color_fprintf(stdout, color, " %s\n", desc); in intel_pt_dump()
211 color_fprintf(stdout, color, " Bad packet!\n"); in intel_pt_dump()
Dcs-etm.c372 color_fprintf(stdout, color, " %s", pkt_string); in cs_etm__packet_dump()
374 color_fprintf(stdout, color, " %s\n", pkt_string); in cs_etm__packet_dump()
463 color_fprintf(stdout, color, in cs_etm__dump_event()
Dstat-display.c183 n += color_fprintf(out, color, fmt, val); in print_metric_std()
Dprobe-event.c901 color_fprintf(stdout, color, prefix, l); in __show_one_line()
903 color_fprintf(stdout, color, "%s", buf); in __show_one_line()
/Linux-v5.4/tools/perf/
Dbuiltin-version.c35 color_fprintf(stdout, PERF_COLOR_RED, "%-3s", status); in on_off_print()
37 color_fprintf(stdout, PERF_COLOR_GREEN, "%-3s", status); in on_off_print()
Dbuiltin-sched.c1621 color_fprintf(stdout, color, " "); in map_switch_event()
1623 color_fprintf(stdout, cpu_color, "*"); in map_switch_event()
1631 color_fprintf(stdout, pid_color, "%2s ", curr_tr->shortname); in map_switch_event()
1633 color_fprintf(stdout, color, " "); in map_switch_event()
1640 color_fprintf(stdout, color, " %12s secs ", stimestamp); in map_switch_event()
1647 color_fprintf(stdout, pid_color, "%s => %s:%d", in map_switch_event()
1653 color_fprintf(stdout, color, " (CPU %d)", this_cpu); in map_switch_event()
1656 color_fprintf(stdout, color, "\n"); in map_switch_event()
Dbuiltin-trace.c1033 printed += color_fprintf(fp, PERF_COLOR_RED, "%6.3f ms", duration); in fprintf_duration()
1035 printed += color_fprintf(fp, PERF_COLOR_YELLOW, "%6.3f ms", duration); in fprintf_duration()
1037 printed += color_fprintf(fp, PERF_COLOR_NORMAL, "%6.3f ms", duration); in fprintf_duration()
1101 color_fprintf(fp, PERF_COLOR_RED, in thread__trace()
1364 color_fprintf(trace->output, PERF_COLOR_RED, in trace__process_event()
2152 color_fprintf(trace->output, PERF_COLOR_YELLOW, "continued"); in trace__sys_exit()
Dbuiltin-inject.c500 color_fprintf(stderr, PERF_COLOR_RED, in perf_inject__sched_switch()
Dbuiltin-top.c333 color_fprintf(stdout, PERF_COLOR_RED, in perf_top__print_sym_table()
Dbuiltin-script.c1705 color_fprintf(mctx->fp, color, fmt, val); in script_print_metric()
/Linux-v5.4/tools/perf/tests/
Dbuiltin-test.c416 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip\n"); in test_and_print()
420 color_fprintf(stderr, PERF_COLOR_RED, " FAILED!\n"); in test_and_print()
589 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip (user override)\n"); in __cmd_test()
610 color_fprintf(stderr, PERF_COLOR_YELLOW, in __cmd_test()