Home
last modified time | relevance | path

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

/linux-6.15/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.c654 ret = strbuf_addstr(&sb, modifier); in decode_all_metric_ids()
722 ret = strbuf_addstr(events, ",metric-id="); in metricgroup__build_event_string()
731 ret = strbuf_addstr(events, id); in metricgroup__build_event_string()
734 ret = strbuf_addstr(events, "/metric-id="); in metricgroup__build_event_string()
739 ret = strbuf_addstr(events, "/"); in metricgroup__build_event_string()
743 ret = strbuf_addstr(events, sep + 1); in metricgroup__build_event_string()
747 ret = strbuf_addstr(events, modifier); in metricgroup__build_event_string()
765 ret = strbuf_addstr(events, tool_pmu__event_to_str(i)); in metricgroup__build_event_string()
H A Dprobe-event.c2039 err = strbuf_addstr(&buf, pa->name ?: pa->var); in synthesize_perf_probe_arg()
2045 err = strbuf_addstr(&buf, field->name); in synthesize_perf_probe_arg()
2075 if (strbuf_addstr(&buf, pp->function) < 0) in synthesize_perf_probe_point()
2082 err = strbuf_addstr(&buf, "%return"); in synthesize_perf_probe_point()
2118 if (!tmp || strbuf_addstr(&buf, tmp) < 0) { in synthesize_perf_probe_command()
2185 err = strbuf_addstr(buf, arg->value); in synthesize_probe_trace_arg()
2646 ret = strbuf_addstr(result, buf); in perf_probe_event__sprintf()
H A Dpython.c1193 strbuf_addstr(&sb, "evlist(["); in pyrf_evlist__str()
1198 strbuf_addstr(&sb, evsel__name(pos)); in pyrf_evlist__str()
1203 strbuf_addstr(&sb, "])"); in pyrf_evlist__str()
H A Dannotate.c1863 if (strbuf_addstr(&sb, pos->abbr_name)) in annotation_br_cntr_entry()
1867 if (strbuf_addstr(&sb, "=-")) in annotation_br_cntr_entry()
1908 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()
H A Dsort.c4186 strbuf_addstr(sb, "\n\t\t\t "); in add_key()
4218 strbuf_addstr(&sb, prefix); in sort_help()
/linux-6.15/tools/perf/
H A Dbuiltin-list.c315 strbuf_addstr(buf, s); in fix_escape_fprintf()
324 strbuf_addstr(buf, "\\n"); in fix_escape_fprintf()
327 strbuf_addstr(buf, "\\r"); in fix_escape_fprintf()
/linux-6.15/tools/perf/tests/
H A Dbuiltin-test.c388 strbuf_addstr(&err_output, buf); in finish_test()