Home
last modified time | relevance | path

Searched refs:strbuf_addch (Results 1 – 12 of 12) 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.c463 ret = strbuf_addch(sb, '!'); in encode_metric_id()
467 ret = strbuf_addch(sb, '0' + (c - code_characters)); in encode_metric_id()
471 ret = strbuf_addch(sb, *x); in encode_metric_id()
497 ret = strbuf_addch(sb, c); in decode_metric_id()
544 ret = strbuf_addch(&sb, ':'); in decode_all_metric_ids()
592 ret = strbuf_addch(events, '{'); in metricgroup__build_event_string()
598 ret = strbuf_addch(events, ','); in metricgroup__build_event_string()
611 ret = strbuf_addch(events, '/'); in metricgroup__build_event_string()
655 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.c1891 if (strbuf_addch(&sb, '+')) in annotation_br_cntr_entry()
1894 if (strbuf_addch(&sb, ' ')) in annotation_br_cntr_entry()
1898 if ((i < br_cntr_nr - 1) && strbuf_addch(&sb, ',')) in annotation_br_cntr_entry()
1903 if (strbuf_addch(&sb, '|')) in annotation_br_cntr_entry()
1907 if (strbuf_addch(&sb, '-')) in annotation_br_cntr_entry()
1930 if (strbuf_addch(&sb, '+')) in annotation_br_cntr_entry()
1938 if (strbuf_addch(&sb, ' ')) in annotation_br_cntr_entry()
1943 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.c2546 strbuf_addch(sb, '}'); in evlist__format_evsels()
2549 strbuf_addch(sb, ','); in evlist__format_evsels()
2556 strbuf_addch(sb, '{'); in evlist__check_mem_load_aux()
2563 strbuf_addch(sb, '}'); in evlist__check_mem_load_aux()
H A Dprobe-event.c2169 err = strbuf_addch(buf, ' '); in synthesize_probe_trace_arg()
2192 err = strbuf_addch(buf, ')'); in synthesize_probe_trace_arg()
2667 ret = strbuf_addch(result, ')'); in perf_probe_event__sprintf()
H A Dparse-events.c1513 strbuf_addch(&sb, '/'); in parse_events_add_pmu()
2842 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/bench/
H A Devlist-open-close.c205 err = strbuf_addch(&buf, i == n-1 ? '\0' : ','); in bench__repeat_event_string()