Home
last modified time | relevance | path

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

/tools/perf/util/
Dquote.c38 ret = strbuf_addf(dst, "'\\%c\'", *src++); in sq_quote_buf()
Dstrbuf.h90 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) __printf(2, 3);
Ddwarf-aux.c1008 return strbuf_addf(buf, "%s%s", tmp, dwarf_diename(&type)); in die_get_typename()
1031 return ret < 0 ? ret : strbuf_addf(buf, "\t%s", dwarf_diename(vr_die)); in die_get_varname()
1079 ret = strbuf_addf(buf, "@<%s+[%" PRIu64 "-%" PRIu64, in die_get_var_innermost_scope()
1083 ret = strbuf_addf(buf, ",%" PRIu64 "-%" PRIu64, in die_get_var_innermost_scope()
1143 ret = strbuf_addf(buf, "@<%s+[%" PRIu64 "-%" PRIu64, in die_get_var_range()
1147 ret = strbuf_addf(buf, ",%" PRIu64 "-%" PRIu64, in die_get_var_range()
Dprobe-event.c1872 err = strbuf_addf(&buf, "%s=%s", pa->name, pa->var); in synthesize_perf_probe_arg()
1882 err = strbuf_addf(&buf, "%s%s", field->ref ? "->" : ".", in synthesize_perf_probe_arg()
1890 if (strbuf_addf(&buf, ":%s", pa->type) < 0) in synthesize_perf_probe_arg()
1913 err = strbuf_addf(&buf, "+%lu", pp->offset); in synthesize_perf_probe_point()
1915 err = strbuf_addf(&buf, ":%d", pp->line); in synthesize_perf_probe_point()
1928 err = strbuf_addf(&buf, "@%s", tmp); in synthesize_perf_probe_point()
1930 err = strbuf_addf(&buf, ":%d", pp->line); in synthesize_perf_probe_point()
1948 if (strbuf_addf(&buf, "%s:%s=", pev->group ?: PERFPROBE_GROUP, in synthesize_perf_probe_command()
1959 if (!tmp || strbuf_addf(&buf, " %s", tmp) < 0) in synthesize_perf_probe_command()
1980 err = strbuf_addf(buf, "%+ld(", ref->offset); in __synthesize_probe_trace_arg_ref()
[all …]
Dstrbuf.c122 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf() function
Dprobe-file.c760 ret = strbuf_addf(buf, " arg%d=%s%s", i + 1, new_op, suffix); in synthesize_sdt_probe_arg()
783 if (strbuf_addf(&buf, "p:%s/%s %s:0x%llx", in synthesize_sdt_probe_command()
Dpmu.c808 if (strbuf_addf(&buf, i++ ? ",%s" : "%s", format->name) < 0) in pmu_formats_string()
Dheader.c1991 if (strbuf_addf(&sb, "%u:%s", type, name) < 0) in process_pmu_mappings()