Home
last modified time | relevance | path

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

/Linux-v5.4/tools/perf/util/
Dmetricgroup.c430 strbuf_addf(events, ","); in metricgroup__add_metric()
440 strbuf_addf(events, "}:W,"); in metricgroup__add_metric()
441 strbuf_addf(events, "duration_time"); in metricgroup__add_metric()
445 strbuf_addf(events, "%s%s", in metricgroup__add_metric()
451 strbuf_addf(events, "}:W"); in metricgroup__add_metric()
482 strbuf_addf(events, "%s", ""); in metricgroup__add_metric_list()
Dprobe-event.c1873 err = strbuf_addf(&buf, "%s=%s", pa->name, pa->var); in synthesize_perf_probe_arg()
1883 err = strbuf_addf(&buf, "%s%s", field->ref ? "->" : ".", in synthesize_perf_probe_arg()
1891 if (strbuf_addf(&buf, ":%s", pa->type) < 0) in synthesize_perf_probe_arg()
1914 err = strbuf_addf(&buf, "+%lu", pp->offset); in synthesize_perf_probe_point()
1916 err = strbuf_addf(&buf, ":%d", pp->line); in synthesize_perf_probe_point()
1929 err = strbuf_addf(&buf, "@%s", tmp); in synthesize_perf_probe_point()
1931 err = strbuf_addf(&buf, ":%d", pp->line); in synthesize_perf_probe_point()
1949 if (strbuf_addf(&buf, "%s:%s=", pev->group ?: PERFPROBE_GROUP, in synthesize_perf_probe_command()
1960 if (!tmp || strbuf_addf(&buf, " %s", tmp) < 0) in synthesize_perf_probe_command()
1981 err = strbuf_addf(buf, "%+ld(", ref->offset); in __synthesize_probe_trace_arg_ref()
[all …]
Ddwarf-aux.c943 return strbuf_addf(buf, "%s%s", tmp, dwarf_diename(&type)); in die_get_typename()
966 return ret < 0 ? ret : strbuf_addf(buf, "\t%s", dwarf_diename(vr_die)); in die_get_varname()
1014 ret = strbuf_addf(buf, "@<%s+[%" PRIu64 "-%" PRIu64, in die_get_var_innermost_scope()
1018 ret = strbuf_addf(buf, ",%" PRIu64 "-%" PRIu64, in die_get_var_innermost_scope()
1078 ret = strbuf_addf(buf, "@<%s+[%" PRIu64 "-%" PRIu64, in die_get_var_range()
1082 ret = strbuf_addf(buf, ",%" PRIu64 "-%" PRIu64, in die_get_var_range()
Dstrbuf.h90 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) __printf(2, 3);
Dstrbuf.c128 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()
784 err = strbuf_addf(&buf, "p:%s/%s %s:0x%llx", in synthesize_sdt_probe_command()
790 err = strbuf_addf(&buf, "(0x%llx)", ref_ctr_offset); in synthesize_sdt_probe_command()
Dpmu.c1002 if (strbuf_addf(&buf, i++ ? ",%s" : "%s", format->name) < 0) in pmu_formats_string()
Dsort.c3123 strbuf_addf(sb, " %s", str); in add_key()
Dheader.c2411 if (strbuf_addf(&sb, "%u:%s", type, name) < 0) in process_pmu_mappings()