Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dmetricgroup.c533 ret = strbuf_addstr(&sb, modifier); in decode_all_metric_ids()
601 ret = strbuf_addstr(events, ",metric-id="); in metricgroup__build_event_string()
610 ret = strbuf_addstr(events, id); in metricgroup__build_event_string()
613 ret = strbuf_addstr(events, "/metric-id="); in metricgroup__build_event_string()
618 ret = strbuf_addstr(events, "/"); in metricgroup__build_event_string()
622 ret = strbuf_addstr(events, sep + 1); in metricgroup__build_event_string()
626 ret = strbuf_addstr(events, modifier); in metricgroup__build_event_string()
644 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()
2650 ret = strbuf_addstr(result, buf); in perf_probe_event__sprintf()
H A Dpython.c1418 strbuf_addstr(&sb, "evlist(["); in pyrf_evlist__str()
1423 strbuf_addstr(&sb, evsel__name(pos)); in pyrf_evlist__str()
1428 strbuf_addstr(&sb, "])"); in pyrf_evlist__str()
H A Dannotate.c1864 if (strbuf_addstr(&sb, pos->abbr_name)) in annotation_br_cntr_entry()
1868 if (strbuf_addstr(&sb, "=-")) in annotation_br_cntr_entry()
1909 if (strbuf_addstr(&sb, pos->abbr_name)) in annotation_br_cntr_entry()
H A Ddwarf-aux.c1142 return strbuf_addstr(buf, tmp); in die_get_typename_from_type()
/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.c472 strbuf_addstr(&err_output, buf); in finish_test()