Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dmetricgroup.c543 ret = strbuf_addstr(&sb, modifier); in decode_all_metric_ids()
611 ret = strbuf_addstr(events, ",metric-id="); in metricgroup__build_event_string()
620 ret = strbuf_addstr(events, id); in metricgroup__build_event_string()
623 ret = strbuf_addstr(events, "/metric-id="); in metricgroup__build_event_string()
628 ret = strbuf_addstr(events, "/"); in metricgroup__build_event_string()
632 ret = strbuf_addstr(events, sep + 1); in metricgroup__build_event_string()
636 ret = strbuf_addstr(events, modifier); in metricgroup__build_event_string()
654 ret = strbuf_addstr(events, tool_pmu__event_to_str(i)); in metricgroup__build_event_string()
H A Dstrbuf.h86 static inline int strbuf_addstr(struct strbuf *sb, const char *s) { in strbuf_addstr() function
H A Dprobe-event.c2043 err = strbuf_addstr(&buf, pa->name ?: pa->var); in synthesize_perf_probe_arg()
2049 err = strbuf_addstr(&buf, field->name); in synthesize_perf_probe_arg()
2079 if (strbuf_addstr(&buf, pp->function) < 0) in synthesize_perf_probe_point()
2086 err = strbuf_addstr(&buf, "%return"); in synthesize_perf_probe_point()
2122 if (!tmp || strbuf_addstr(&buf, tmp) < 0) { in synthesize_perf_probe_command()
2189 err = strbuf_addstr(buf, arg->value); in synthesize_probe_trace_arg()
2651 ret = strbuf_addstr(result, buf); in perf_probe_event__sprintf()
H A Dpython.c1815 strbuf_addstr(&sb, "evlist(["); in pyrf_evlist__str()
1820 strbuf_addstr(&sb, evsel__name(pos)); in pyrf_evlist__str()
1825 strbuf_addstr(&sb, "])"); in pyrf_evlist__str()
H A Dannotate.c1881 if (strbuf_addstr(&sb, pos->abbr_name)) in annotation_br_cntr_entry()
1885 if (strbuf_addstr(&sb, "=-")) in annotation_br_cntr_entry()
1926 if (strbuf_addstr(&sb, pos->abbr_name)) in annotation_br_cntr_entry()
H A Devlist.c2540 strbuf_addstr(sb, "..."); in evlist__format_evsels()
2546 strbuf_addstr(sb, evsel__name(evsel)); in evlist__format_evsels()
H A Ddwarf-aux.c1142 return strbuf_addstr(buf, tmp); in die_get_typename_from_type()
H A Dsort.c4301 strbuf_addstr(sb, "\n\t\t\t "); in add_key()
4333 strbuf_addstr(&sb, prefix); in sort_help()
/linux/tools/perf/
H A Dbuiltin-list.c322 strbuf_addstr(buf, s); in fix_escape_fprintf()
331 strbuf_addstr(buf, "\\n"); in fix_escape_fprintf()
334 strbuf_addstr(buf, "\\r"); in fix_escape_fprintf()
/linux/tools/perf/tests/
H A Dbuiltin-test.c478 strbuf_addstr(&err_output, buf); in finish_test()