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.c548 ret = strbuf_addstr(&sb, modifier); in decode_all_metric_ids()
616 ret = strbuf_addstr(events, ",metric-id="); in metricgroup__build_event_string()
625 ret = strbuf_addstr(events, id); in metricgroup__build_event_string()
628 ret = strbuf_addstr(events, "/metric-id="); in metricgroup__build_event_string()
633 ret = strbuf_addstr(events, "/"); in metricgroup__build_event_string()
637 ret = strbuf_addstr(events, sep + 1); in metricgroup__build_event_string()
641 ret = strbuf_addstr(events, modifier); in metricgroup__build_event_string()
659 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.c2552 strbuf_addstr(sb, "..."); in evlist__format_evsels()
2558 strbuf_addstr(sb, evsel__name(evsel)); in evlist__check_mem_load_aux()
H A Ddwarf-aux.c1169 return strbuf_addstr(buf, tmp);
H A Dsort.c4439 strbuf_addstr(sb, "\n\t\t\t ");
4471 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.c478 strbuf_addstr(&err_output, buf); in finish_test()