Lines Matching refs:printed

42 	int printed = 0;  in evsel__fprintf()  local
51 printed += fprintf(fp, "%s{", evsel->group_name ?: ""); in evsel__fprintf()
53 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf()
55 printed += fprintf(fp, ",%s", evsel__name(pos)); in evsel__fprintf()
58 printed += fprintf(fp, "}"); in evsel__fprintf()
62 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf()
65 printed += perf_event_attr__fprintf(fp, &evsel->core.attr, in evsel__fprintf()
73 printed += comma_fprintf(fp, &first, " %s=%" PRIu64, in evsel__fprintf()
81 printed += comma_fprintf(fp, &first, " (not a tracepoint)"); in evsel__fprintf()
87 printed += comma_fprintf(fp, &first, " (no trace field)"); in evsel__fprintf()
91 printed += comma_fprintf(fp, &first, " trace_fields: %s", field->name); in evsel__fprintf()
95 printed += comma_fprintf(fp, &first, "%s", field->name); in evsel__fprintf()
101 return ++printed; in evsel__fprintf()
109 int printed = 0; in sample__fprintf_callchain() local
143 printed += fprintf(fp, "%-*.*s", left_alignment, left_alignment, " "); in sample__fprintf_callchain()
146 printed += fprintf(fp, " <-"); in sample__fprintf_callchain()
154 printed += fprintf(fp, "%c%16" PRIx64, s, addr); in sample__fprintf_callchain()
156 printed += fprintf(fp, "%c%16" PRIx64, s, node->ip); in sample__fprintf_callchain()
160 printed += fprintf(fp, " "); in sample__fprintf_callchain()
165 printed += __symbol__fprintf_symname_offs(sym, &node_al, in sample__fprintf_callchain()
169 printed += __symbol__fprintf_symname(sym, &node_al, in sample__fprintf_callchain()
175 printed += fprintf(fp, " ("); in sample__fprintf_callchain()
176 printed += map__fprintf_dsoname(map, fp); in sample__fprintf_callchain()
177 printed += fprintf(fp, ")"); in sample__fprintf_callchain()
181 printed += map__fprintf_srcline(map, addr, "\n ", fp); in sample__fprintf_callchain()
184 printed += fprintf(fp, " (inlined)"); in sample__fprintf_callchain()
187 printed += fprintf(fp, "\n"); in sample__fprintf_callchain()
201 return printed; in sample__fprintf_callchain()
208 int printed = 0; in sample__fprintf_sym() local
217 printed += sample__fprintf_callchain(sample, left_alignment, print_opts, in sample__fprintf_sym()
220 printed += fprintf(fp, "%-*.*s", left_alignment, left_alignment, " "); in sample__fprintf_sym()
223 printed += fprintf(fp, "%16" PRIx64, sample->ip); in sample__fprintf_sym()
226 printed += fprintf(fp, " "); in sample__fprintf_sym()
228 printed += __symbol__fprintf_symname_offs(al->sym, al, in sample__fprintf_sym()
232 printed += __symbol__fprintf_symname(al->sym, al, in sample__fprintf_sym()
238 printed += fprintf(fp, " ("); in sample__fprintf_sym()
239 printed += map__fprintf_dsoname(al->map, fp); in sample__fprintf_sym()
240 printed += fprintf(fp, ")"); in sample__fprintf_sym()
244 printed += map__fprintf_srcline(al->map, al->addr, "\n ", fp); in sample__fprintf_sym()
247 return printed; in sample__fprintf_sym()