Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dstrbuf.h86 static inline int strbuf_addstr(struct strbuf *sb, const char *s) { in strbuf_addstr() function
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 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.c3248 strbuf_addstr(&sb, "evlist([");
3252 strbuf_addstr(&sb, evsel__name(pos));
3255 strbuf_addstr(&sb, "])");
H A Dannotate.c1903 if (strbuf_addstr(&sb, pos->abbr_name)) in annotation_br_cntr_entry()
1907 if (strbuf_addstr(&sb, "=-")) in annotation_br_cntr_entry()
1948 if (strbuf_addstr(&sb, pos->abbr_name)) in annotation_br_cntr_entry()
H A Devlist.c2655 strbuf_addstr(sb, "..."); in evlist__uniquify_evsel_names()
2661 strbuf_addstr(sb, evsel__name(evsel)); in evlist__has_bpf_output()
H A Ddwarf-aux.c1166 return strbuf_addstr(buf, tmp);
H A Dsort.c4473 strbuf_addstr(sb, "\n\t\t\t ");
4505 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.c407 strbuf_addstr(&buf, "&amp;"); in finish_test()
409 strbuf_addstr(&buf, "&lt;"); in finish_test()
411 strbuf_addstr(&buf, "&gt;"); in finish_test()
413 strbuf_addstr(&buf, "&quot;"); in finish_test()
549 strbuf_addstr(&junit_xml_buf, " </testcase>\n"); in start_test()
896 ret = strbuf_addstr(sb, s);
932 ret = strbuf_addstr(sb, dynamic_buf);
935 ret = strbuf_addstr(sb, buf);
1391 strbuf_addstr(&junit_xml_buf, " </testcase>\n");