Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/util/
Ddebug.c128 printed += color_fprintf(fp, color, "\n. ... raw event: size %d bytes\n", in trace_event_printer()
135 printed += color_fprintf(fp, color, " %04x: ", val); in trace_event_printer()
138 printed += color_fprintf(fp, color, " %02x", val); in trace_event_printer()
141 printed += color_fprintf(fp, color, " "); in trace_event_printer()
144 printed += color_fprintf(fp, color, " "); in trace_event_printer()
147 printed += color_fprintf(fp, color, "%c", in trace_event_printer()
151 printed += color_fprintf(fp, color, " "); in trace_event_printer()
154 printed += color_fprintf(fp, color, "\n"); in trace_event_printer()
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()
Darm-spe.c97 color_fprintf(stdout, color, in arm_spe_dump()
108 color_fprintf(stdout, color, " %08x: ", pos); in arm_spe_dump()
110 color_fprintf(stdout, color, " %02x", buf[i]); in arm_spe_dump()
112 color_fprintf(stdout, color, " "); in arm_spe_dump()
117 color_fprintf(stdout, color, " %s\n", desc); in arm_spe_dump()
119 color_fprintf(stdout, color, " Bad packet!\n"); in arm_spe_dump()
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.c1343 color_fprintf(stdout, annotate__address_color(br), " %*" PRIx64 ":", addr_fmt_width, addr); in disasm_line__print()
1344 color_fprintf(stdout, annotate__asm_color(br), "%s", dl->al.line); in disasm_line__print()
1404 color_fprintf(stdout, color, " %s", al->path); in annotation_line__print()
1418 color_fprintf(stdout, color, " %11" PRIu64, in annotation_line__print()
1421 color_fprintf(stdout, color, " %7" PRIu64, in annotation_line__print()
1424 color_fprintf(stdout, color, " %7.2f", percent); in annotation_line__print()
2304 color_fprintf(stdout, color, " %7.2f", percent); in print_summary()
2312 color_fprintf(stdout, color, " %s\n", path); in print_summary()
Dintel-pt.c195 color_fprintf(stdout, color, in intel_pt_dump()
206 color_fprintf(stdout, color, " %08x: ", pos); in intel_pt_dump()
208 color_fprintf(stdout, color, " %02x", buf[i]); in intel_pt_dump()
210 color_fprintf(stdout, color, " "); in intel_pt_dump()
215 color_fprintf(stdout, color, " %s\n", desc); in intel_pt_dump()
217 color_fprintf(stdout, color, " Bad packet!\n"); in intel_pt_dump()
Dcs-etm.c392 color_fprintf(stdout, color, " %s", pkt_string); in cs_etm__packet_dump()
394 color_fprintf(stdout, color, " %s\n", pkt_string); in cs_etm__packet_dump()
483 color_fprintf(stdout, color, in cs_etm__dump_event()
Dstat-display.c193 n += color_fprintf(out, color, fmt, val); in print_metric_std()
Dprobe-event.c970 color_fprintf(stdout, color, prefix, l); in __show_one_line()
972 color_fprintf(stdout, color, "%s", buf); in __show_one_line()
/Linux-v5.10/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.c1627 color_fprintf(stdout, color, " "); in map_switch_event()
1629 color_fprintf(stdout, cpu_color, "*"); in map_switch_event()
1637 color_fprintf(stdout, pid_color, "%2s ", curr_tr->shortname); in map_switch_event()
1639 color_fprintf(stdout, color, " "); in map_switch_event()
1646 color_fprintf(stdout, color, " %12s secs ", stimestamp); in map_switch_event()
1653 color_fprintf(stdout, pid_color, "%s => %s:%d", in map_switch_event()
1659 color_fprintf(stdout, color, " (CPU %d)", this_cpu); in map_switch_event()
1662 color_fprintf(stdout, color, "\n"); in map_switch_event()
Dbuiltin-trace.c1237 printed += color_fprintf(fp, PERF_COLOR_RED, "%6.3f ms", duration); in fprintf_duration()
1239 printed += color_fprintf(fp, PERF_COLOR_YELLOW, "%6.3f ms", duration); in fprintf_duration()
1241 printed += color_fprintf(fp, PERF_COLOR_NORMAL, "%6.3f ms", duration); in fprintf_duration()
1305 color_fprintf(fp, PERF_COLOR_RED, in thread__trace()
1568 color_fprintf(trace->output, PERF_COLOR_RED, in trace__process_event()
2477 color_fprintf(trace->output, PERF_COLOR_YELLOW, "continued");
Dbuiltin-inject.c619 color_fprintf(stderr, PERF_COLOR_RED, in perf_inject__sched_switch()
Dbuiltin-top.c335 color_fprintf(stdout, PERF_COLOR_RED, in perf_top__print_sym_table()
Dbuiltin-script.c1813 color_fprintf(mctx->fp, color, fmt, val); in script_print_metric()
/Linux-v5.10/tools/perf/tests/
Dbuiltin-test.c469 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip (%s)\n", skip_reason); in test_and_print()
471 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip\n"); in test_and_print()
476 color_fprintf(stderr, PERF_COLOR_RED, " FAILED!\n"); in test_and_print()
664 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip (user override)\n"); in __cmd_test()
684 color_fprintf(stderr, PERF_COLOR_YELLOW, in __cmd_test()