Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dmetricgroup.c458 ret = strbuf_addch(sb, '!'); in encode_metric_id()
462 ret = strbuf_addch(sb, '0' + (c - code_characters)); in encode_metric_id()
466 ret = strbuf_addch(sb, *x); in encode_metric_id()
492 ret = strbuf_addch(sb, c); in decode_metric_id()
539 ret = strbuf_addch(&sb, ':'); in decode_all_metric_ids()
587 ret = strbuf_addch(events, '{'); in metricgroup__build_event_string()
593 ret = strbuf_addch(events, ','); in metricgroup__build_event_string()
606 ret = strbuf_addch(events, '/'); in metricgroup__build_event_string()
650 ret = strbuf_addch(events, ','); in metricgroup__build_event_string()
H A Dstrbuf.h83 int strbuf_addch(struct strbuf *sb, int c);
H A Dstrbuf.c73 int strbuf_addch(struct strbuf *sb, int c) in strbuf_addch() function
H A Dannotate.c1892 if (strbuf_addch(&sb, '+')) in annotation_br_cntr_entry()
1895 if (strbuf_addch(&sb, ' ')) in annotation_br_cntr_entry()
1899 if ((i < br_cntr_nr - 1) && strbuf_addch(&sb, ',')) in annotation_br_cntr_entry()
1904 if (strbuf_addch(&sb, '|')) in annotation_br_cntr_entry()
1908 if (strbuf_addch(&sb, '-')) in annotation_br_cntr_entry()
1931 if (strbuf_addch(&sb, '+')) in annotation_br_cntr_entry()
1939 if (strbuf_addch(&sb, ' ')) in annotation_br_cntr_entry()
1944 if (!verbose && strbuf_addch(&sb, br_cntr_nr ? '|' : ' ')) in annotation_br_cntr_entry()
H A Dpmus.c690 strbuf_addch(&args->long_string, ','); in build_format_string()
692 strbuf_addch(&args->short_string, ','); in build_format_string()
H A Devlist.c2534 strbuf_addch(sb, '}'); in evlist__format_evsels()
2537 strbuf_addch(sb, ','); in evlist__format_evsels()
2544 strbuf_addch(sb, '{'); in evlist__format_evsels()
2551 strbuf_addch(sb, '}'); in evlist__format_evsels()
H A Dprobe-event.c2170 err = strbuf_addch(buf, ' '); in synthesize_probe_trace_arg()
2193 err = strbuf_addch(buf, ')'); in synthesize_probe_trace_arg()
2668 ret = strbuf_addch(result, ')'); in perf_probe_event__sprintf()
H A Dparse-events.c1465 strbuf_addch(&sb, '/'); in parse_events_add_pmu()
2794 ret = strbuf_addch(sb, ','); in parse_events_terms__to_strbuf()
H A Dprobe-finder.c1459 if (strbuf_addch(&buf, '\t') < 0) in collect_variables_cb()
H A Dpython.c1818 strbuf_addch(&sb, ','); in pyrf_evlist__str()
/linux/tools/perf/
H A Dbuiltin-list.c339 strbuf_addch(buf, '\\'); in fix_escape_fprintf()
342 strbuf_addch(buf, s[s_pos]); in fix_escape_fprintf()
350 strbuf_addch(buf, '%'); in fix_escape_fprintf()
351 strbuf_addch(buf, fmt[fmt_pos]); in fix_escape_fprintf()
355 strbuf_addch(buf, fmt[fmt_pos]); in fix_escape_fprintf()
/linux/tools/perf/bench/
H A Devlist-open-close.c205 err = strbuf_addch(&buf, i == n-1 ? '\0' : ','); in bench__repeat_event_string()