Home
last modified time | relevance | path

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

/tools/perf/util/
Ddebug.c162 printed += color_fprintf(fp, color, "\n. ... raw event: size %d bytes\n", in trace_event_printer()
169 printed += color_fprintf(fp, color, " %04x: ", val); in trace_event_printer()
172 printed += color_fprintf(fp, color, " %02x", val); in trace_event_printer()
175 printed += color_fprintf(fp, color, " "); in trace_event_printer()
178 printed += color_fprintf(fp, color, " "); in trace_event_printer()
181 printed += color_fprintf(fp, color, "%c", in trace_event_printer()
185 printed += color_fprintf(fp, color, " "); in trace_event_printer()
188 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()
180 color_fprintf(stdout, color, " [%#08zx] Counterset:%d" in s390_cpumcfdg_dump()
185 color_fprintf(stdout, color, in s390_cpumcfdg_dump()
Dcolor.h40 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...);
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()
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()
Darm-spe.c103 color_fprintf(stdout, color, in arm_spe_dump()
114 color_fprintf(stdout, color, " %08x: ", pos); in arm_spe_dump()
116 color_fprintf(stdout, color, " %02x", buf[i]); in arm_spe_dump()
118 color_fprintf(stdout, color, " "); in arm_spe_dump()
123 color_fprintf(stdout, color, " %s\n", desc); in arm_spe_dump()
125 color_fprintf(stdout, color, " Bad packet!\n"); in arm_spe_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.c1357 color_fprintf(stdout, annotate__address_color(br), " %*" PRIx64 ":", addr_fmt_width, addr); in disasm_line__print()
1358 color_fprintf(stdout, annotate__asm_color(br), "%s", dl->al.line); in disasm_line__print()
1417 color_fprintf(stdout, color, " %11" PRIu64, in annotation_line__print()
1420 color_fprintf(stdout, color, " %7" PRIu64, in annotation_line__print()
1423 color_fprintf(stdout, color, " %7.2f", percent); in annotation_line__print()
1437 color_fprintf(stdout, color, " // %s", al->path); in annotation_line__print()
2333 color_fprintf(stdout, color, " %7.2f", percent); in print_summary()
2341 color_fprintf(stdout, color, " %s\n", path); in print_summary()
Dintel-pt.c204 color_fprintf(stdout, color, in intel_pt_dump()
215 color_fprintf(stdout, color, " %08x: ", pos); in intel_pt_dump()
217 color_fprintf(stdout, color, " %02x", buf[i]); in intel_pt_dump()
219 color_fprintf(stdout, color, " "); in intel_pt_dump()
224 color_fprintf(stdout, color, " %s\n", desc); in intel_pt_dump()
226 color_fprintf(stdout, color, " Bad packet!\n"); in intel_pt_dump()
Dcs-etm.c431 color_fprintf(stdout, color, " %s", pkt_string); in cs_etm__packet_dump()
433 color_fprintf(stdout, color, " %s\n", pkt_string); in cs_etm__packet_dump()
539 color_fprintf(stdout, color, in cs_etm__dump_event()
Dstat-display.c197 n += color_fprintf(out, color, fmt, val); in print_metric_std()
Dprobe-event.c987 color_fprintf(stdout, color, prefix, l); in __show_one_line()
989 color_fprintf(stdout, color, "%s", buf); in __show_one_line()
/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.c1249 printed += color_fprintf(fp, PERF_COLOR_RED, "%6.3f ms", duration); in fprintf_duration()
1251 printed += color_fprintf(fp, PERF_COLOR_YELLOW, "%6.3f ms", duration); in fprintf_duration()
1253 printed += color_fprintf(fp, PERF_COLOR_NORMAL, "%6.3f ms", duration); in fprintf_duration()
1317 color_fprintf(fp, PERF_COLOR_RED, in thread__trace()
1580 color_fprintf(trace->output, PERF_COLOR_RED, in trace__process_event()
2501 color_fprintf(trace->output, PERF_COLOR_YELLOW, "continued");
Dbuiltin-inject.c649 color_fprintf(stderr, PERF_COLOR_RED, in perf_inject__sched_switch()
Dbuiltin-top.c336 color_fprintf(stdout, PERF_COLOR_RED, in perf_top__print_sym_table()
Dbuiltin-script.c1885 color_fprintf(mctx->fp, color, fmt, val); in script_print_metric()
/tools/perf/tests/
Dbuiltin-test.c484 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip (%s)\n", skip_reason); in test_and_print()
486 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip\n"); in test_and_print()
491 color_fprintf(stderr, PERF_COLOR_RED, " FAILED!\n"); in test_and_print()
638 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip (user override)\n"); in run_shell_tests()
695 color_fprintf(stderr, PERF_COLOR_YELLOW, " Skip (user override)\n"); in __cmd_test()
715 color_fprintf(stderr, PERF_COLOR_YELLOW, in __cmd_test()