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.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/util/
H A Dmetricgroup.c448 ret = strbuf_addch(sb, '!'); in encode_metric_id()
452 ret = strbuf_addch(sb, '0' + (c - code_characters)); in encode_metric_id()
456 ret = strbuf_addch(sb, *x); in encode_metric_id()
482 ret = strbuf_addch(sb, c); in decode_metric_id()
529 ret = strbuf_addch(&sb, ':'); in decode_all_metric_ids()
577 ret = strbuf_addch(events, '{'); in metricgroup__build_event_string()
583 ret = strbuf_addch(events, ','); in metricgroup__build_event_string()
596 ret = strbuf_addch(events, '/'); in metricgroup__build_event_string()
640 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.c1875 if (strbuf_addch(&sb, '+')) in annotation_br_cntr_entry()
1878 if (strbuf_addch(&sb, ' ')) in annotation_br_cntr_entry()
1882 if ((i < br_cntr_nr - 1) && strbuf_addch(&sb, ',')) in annotation_br_cntr_entry()
1887 if (strbuf_addch(&sb, '|')) in annotation_br_cntr_entry()
1891 if (strbuf_addch(&sb, '-')) in annotation_br_cntr_entry()
1914 if (strbuf_addch(&sb, '+')) in annotation_br_cntr_entry()
1922 if (strbuf_addch(&sb, ' ')) in annotation_br_cntr_entry()
1927 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 Dprobe-event.c2170 err = strbuf_addch(buf, ' '); in synthesize_probe_trace_arg()
2193 err = strbuf_addch(buf, ')'); in synthesize_probe_trace_arg()
2667 ret = strbuf_addch(result, ')'); in perf_probe_event__sprintf()
H A Dpython.c1421 strbuf_addch(&sb, ','); in pyrf_evlist__str()
H A Dprobe-finder.c1459 if (strbuf_addch(&buf, '\t') < 0) in collect_variables_cb()
/linux/tools/perf/bench/
H A Devlist-open-close.c204 err = strbuf_addch(&buf, i == n-1 ? '\0' : ','); in bench__repeat_event_string()
206 pr_err("strbuf_addch: %s\n", str_error_r(err, sbuf, sizeof(sbuf))); in bench__repeat_event_string()