Lines Matching full:printed
41 int printed = 0; in evsel__fprintf() local
50 printed += fprintf(fp, "%s{", evsel->group_name ?: ""); in evsel__fprintf()
52 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf()
54 printed += fprintf(fp, ",%s", evsel__name(pos)); in evsel__fprintf()
57 printed += fprintf(fp, "}"); in evsel__fprintf()
61 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf()
64 printed += perf_event_attr__fprintf(fp, &evsel->core.attr, in evsel__fprintf()
72 printed += comma_fprintf(fp, &first, " %s=%" PRIu64, in evsel__fprintf()
80 printed += comma_fprintf(fp, &first, " (not a tracepoint)"); in evsel__fprintf()
86 printed += comma_fprintf(fp, &first, " (no trace field)"); in evsel__fprintf()
90 printed += comma_fprintf(fp, &first, " trace_fields: %s", field->name); in evsel__fprintf()
94 printed += comma_fprintf(fp, &first, "%s", field->name); in evsel__fprintf()
100 return ++printed; in evsel__fprintf()
107 int printed = 0; in sample__fprintf_callchain() local
141 printed += fprintf(fp, "%-*.*s", left_alignment, left_alignment, " "); in sample__fprintf_callchain()
144 printed += fprintf(fp, " <-"); in sample__fprintf_callchain()
147 printed += fprintf(fp, "%c%16" PRIx64, s, node->ip); in sample__fprintf_callchain()
153 printed += fprintf(fp, " "); in sample__fprintf_callchain()
158 printed += __symbol__fprintf_symname_offs(sym, &node_al, in sample__fprintf_callchain()
162 printed += __symbol__fprintf_symname(sym, &node_al, in sample__fprintf_callchain()
168 printed += fprintf(fp, " ("); in sample__fprintf_callchain()
169 printed += map__fprintf_dsoname(map, fp); in sample__fprintf_callchain()
170 printed += fprintf(fp, ")"); in sample__fprintf_callchain()
174 printed += map__fprintf_srcline(map, addr, "\n ", fp); in sample__fprintf_callchain()
177 printed += fprintf(fp, " (inlined)"); in sample__fprintf_callchain()
180 printed += fprintf(fp, "\n"); in sample__fprintf_callchain()
194 return printed; in sample__fprintf_callchain()
201 int printed = 0; in sample__fprintf_sym() local
210 printed += sample__fprintf_callchain(sample, left_alignment, print_opts, in sample__fprintf_sym()
213 printed += fprintf(fp, "%-*.*s", left_alignment, left_alignment, " "); in sample__fprintf_sym()
216 printed += fprintf(fp, "%16" PRIx64, sample->ip); in sample__fprintf_sym()
219 printed += fprintf(fp, " "); in sample__fprintf_sym()
221 printed += __symbol__fprintf_symname_offs(al->sym, al, in sample__fprintf_sym()
225 printed += __symbol__fprintf_symname(al->sym, al, in sample__fprintf_sym()
231 printed += fprintf(fp, " ("); in sample__fprintf_sym()
232 printed += map__fprintf_dsoname(al->map, fp); in sample__fprintf_sym()
233 printed += fprintf(fp, ")"); in sample__fprintf_sym()
237 printed += map__fprintf_srcline(al->map, al->addr, "\n ", fp); in sample__fprintf_sym()
240 return printed; in sample__fprintf_sym()