Home
last modified time | relevance | path

Searched refs:strbuf_addch (Results 1 – 10 of 10) sorted by relevance

/linux/tools/perf/
H A Dbuiltin-list.c332 strbuf_addch(buf, '\\'); in fix_escape_fprintf()
335 strbuf_addch(buf, s[s_pos]); in fix_escape_fprintf()
343 strbuf_addch(buf, '%'); in fix_escape_fprintf()
344 strbuf_addch(buf, fmt[fmt_pos]); in fix_escape_fprintf()
348 strbuf_addch(buf, fmt[fmt_pos]); in fix_escape_fprintf()
/linux/tools/perf/util/
H A Dstrbuf.h83 int strbuf_addch(struct strbuf *sb, int c);
H A Dmetricgroup.c568 ret = strbuf_addch(sb, '!'); in encode_metric_id()
572 ret = strbuf_addch(sb, '0' + (c - code_characters)); in encode_metric_id()
576 ret = strbuf_addch(sb, *x); in encode_metric_id()
602 ret = strbuf_addch(sb, c); in decode_metric_id()
649 ret = strbuf_addch(&sb, ':'); in decode_all_metric_ids()
697 ret = strbuf_addch(events, '{'); in metricgroup__build_event_string()
703 ret = strbuf_addch(events, ','); in metricgroup__build_event_string()
716 ret = strbuf_addch(events, '/'); in metricgroup__build_event_string()
760 ret = strbuf_addch(events, ','); in metricgroup__build_event_string()
H A Dstrbuf.c73 int strbuf_addch(struct strbuf *sb, int c) in strbuf_addch() function
H A Dannotate.c1823 if (strbuf_addch(&sb, '+')) in annotation_br_cntr_entry()
1826 if (strbuf_addch(&sb, ' ')) in annotation_br_cntr_entry()
1830 if ((i < br_cntr_nr - 1) && strbuf_addch(&sb, ',')) in annotation_br_cntr_entry()
1835 if (strbuf_addch(&sb, '|')) in annotation_br_cntr_entry()
1839 if (strbuf_addch(&sb, '-')) in annotation_br_cntr_entry()
1862 if (strbuf_addch(&sb, '+')) in annotation_br_cntr_entry()
1870 if (strbuf_addch(&sb, ' ')) in annotation_br_cntr_entry()
1875 if (!verbose && strbuf_addch(&sb, br_cntr_nr ? '|' : ' ')) in annotation_br_cntr_entry()
H A Dpmus.c540 strbuf_addch(&args->long_string, ','); in build_format_string()
542 strbuf_addch(&args->short_string, ','); in build_format_string()
H A Dprobe-event.c2129 err = strbuf_addch(buf, ' '); in synthesize_probe_trace_arg()
2152 err = strbuf_addch(buf, ')'); in synthesize_probe_trace_arg()
2626 ret = strbuf_addch(result, ')'); in perf_probe_event__sprintf()
H A Dparse-events.c1466 strbuf_addch(&sb, '/'); in parse_events_add_pmu()
2692 ret = strbuf_addch(sb, ','); in parse_events_terms__to_strbuf()
H A Dprobe-finder.c1429 if (strbuf_addch(&buf, '\t') < 0) in collect_variables_cb()
/linux/tools/perf/bench/
H A Devlist-open-close.c211 err = strbuf_addch(&buf, i == n-1 ? '\0' : ','); in bench__repeat_event_string()