Lines Matching refs:printed
46 int printed = 0; in evsel__fprintf() local
55 printed += fprintf(fp, "%s{", evsel->group_name ?: ""); in evsel__fprintf()
57 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf()
59 printed += fprintf(fp, ",%s", evsel__name(pos)); in evsel__fprintf()
62 printed += fprintf(fp, "}"); in evsel__fprintf()
66 printed += fprintf(fp, "%s", evsel__name(evsel)); in evsel__fprintf()
69 printed += perf_event_attr__fprintf(fp, &evsel->core.attr, in evsel__fprintf()
77 printed += comma_fprintf(fp, &first, " %s=%" PRIu64, in evsel__fprintf()
86 printed += comma_fprintf(fp, &first, " (not a tracepoint)"); in evsel__fprintf()
92 printed += comma_fprintf(fp, &first, " (no trace field)"); in evsel__fprintf()
96 printed += comma_fprintf(fp, &first, " trace_fields: %s", field->name); in evsel__fprintf()
100 printed += comma_fprintf(fp, &first, "%s", field->name); in evsel__fprintf()
107 return ++printed; in evsel__fprintf()
115 int printed = 0; in sample__fprintf_callchain() local
151 printed += fprintf(fp, "%-*.*s", left_alignment, left_alignment, " "); in sample__fprintf_callchain()
154 printed += fprintf(fp, " <-"); in sample__fprintf_callchain()
160 printed += fprintf(fp, "%c%16" PRIx64, s, node->ip); in sample__fprintf_callchain()
166 printed += fprintf(fp, " "); in sample__fprintf_callchain()
171 printed += __symbol__fprintf_symname_offs(sym, &node_al, in sample__fprintf_callchain()
175 printed += __symbol__fprintf_symname(sym, &node_al, in sample__fprintf_callchain()
182 printed += map__fprintf_dsoname_dsoff(map, print_dsoff, addr, fp); in sample__fprintf_callchain()
185 printed += map__fprintf_srcline(map, addr, "\n ", fp); in sample__fprintf_callchain()
188 printed += fprintf(fp, " (inlined)"); in sample__fprintf_callchain()
191 printed += fprintf(fp, "\n"); in sample__fprintf_callchain()
205 return printed; in sample__fprintf_callchain()
212 int printed = 0; in sample__fprintf_sym() local
222 printed += sample__fprintf_callchain(sample, left_alignment, print_opts, in sample__fprintf_sym()
225 printed += fprintf(fp, "%-*.*s", left_alignment, left_alignment, " "); in sample__fprintf_sym()
228 printed += fprintf(fp, "%16" PRIx64, sample->ip); in sample__fprintf_sym()
231 printed += fprintf(fp, " "); in sample__fprintf_sym()
233 printed += __symbol__fprintf_symname_offs(al->sym, al, in sample__fprintf_sym()
237 printed += __symbol__fprintf_symname(al->sym, al, in sample__fprintf_sym()
243 printed += map__fprintf_dsoname_dsoff(al->map, print_dsoff, al->addr, fp); in sample__fprintf_sym()
246 printed += map__fprintf_srcline(al->map, al->addr, "\n ", fp); in sample__fprintf_sym()
249 return printed; in sample__fprintf_sym()