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.c544 ret = strbuf_addstr(&sb, modifier); in decode_all_metric_ids()
612 ret = strbuf_addstr(events, ",metric-id="); in metricgroup__build_event_string()
621 ret = strbuf_addstr(events, id); in metricgroup__build_event_string()
624 ret = strbuf_addstr(events, "/metric-id="); in metricgroup__build_event_string()
629 ret = strbuf_addstr(events, "/"); in metricgroup__build_event_string()
633 ret = strbuf_addstr(events, sep + 1); in metricgroup__build_event_string()
637 ret = strbuf_addstr(events, modifier); in metricgroup__build_event_string()
655 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.c2042 err = strbuf_addstr(&buf, pa->name ?: pa->var); in synthesize_perf_probe_arg()
2048 err = strbuf_addstr(&buf, field->name); in synthesize_perf_probe_arg()
2078 if (strbuf_addstr(&buf, pp->function) < 0) in synthesize_perf_probe_point()
2085 err = strbuf_addstr(&buf, "%return"); in synthesize_perf_probe_point()
2121 if (!tmp || strbuf_addstr(&buf, tmp) < 0) { in synthesize_perf_probe_command()
2188 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.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.c1880 if (strbuf_addstr(&sb, pos->abbr_name)) in annotation_br_cntr_entry()
1884 if (strbuf_addstr(&sb, "=-")) in annotation_br_cntr_entry()
1925 if (strbuf_addstr(&sb, pos->abbr_name)) in annotation_br_cntr_entry()
H A Devlist.c2558 strbuf_addstr(sb, "..."); in evlist__check_mem_load_aux()
2564 strbuf_addstr(sb, evsel__name(evsel)); in evlist__check_mem_load_aux()
H A Ddwarf-aux.c1166 return strbuf_addstr(buf, tmp);
H A Dsort.c4445 strbuf_addstr(sb, "\n\t\t\t ");
4477 strbuf_addstr(&sb, prefix);
/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.c404 strbuf_addstr(&buf, "&amp;"); in finish_test()
406 strbuf_addstr(&buf, "&lt;"); in finish_test()
408 strbuf_addstr(&buf, "&gt;"); in finish_test()
410 strbuf_addstr(&buf, "&quot;"); in finish_test()
540 strbuf_addstr(&junit_xml_buf, " </testcase>\n"); in start_test()
885 ret = strbuf_addstr(sb, s);
921 ret = strbuf_addstr(sb, dynamic_buf);
924 ret = strbuf_addstr(sb, buf);
1370 strbuf_addstr(&junit_xml_buf, " </testcase>\n");