Home
last modified time | relevance | path

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

/tools/perf/util/
Dstrbuf.h90 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) __printf(2, 3);
Dmetricgroup.c707 strbuf_addf(events, "%s%s", in metricgroup__add_metric_weak_group()
713 strbuf_addf(events, "}:W"); in metricgroup__add_metric_weak_group()
715 strbuf_addf(events, ",duration_time"); in metricgroup__add_metric_weak_group()
717 strbuf_addf(events, "duration_time"); in metricgroup__add_metric_weak_group()
729 strbuf_addf(events, ","); in metricgroup__add_metric_non_group()
730 strbuf_addf(events, "%s", (const char *)cur->key); in metricgroup__add_metric_non_group()
1143 strbuf_addf(events, ","); in metricgroup__add_metric()
1178 strbuf_addf(events, "%s", ""); in metricgroup__add_metric_list()
Dprobe-event.c1974 err = strbuf_addf(&buf, "%s=%s", pa->name, pa->var); in synthesize_perf_probe_arg()
1984 err = strbuf_addf(&buf, "%s%s", field->ref ? "->" : ".", in synthesize_perf_probe_arg()
1992 if (strbuf_addf(&buf, ":%s", pa->type) < 0) in synthesize_perf_probe_arg()
2015 err = strbuf_addf(&buf, "+%lu", pp->offset); in synthesize_perf_probe_point()
2017 err = strbuf_addf(&buf, ":%d", pp->line); in synthesize_perf_probe_point()
2030 err = strbuf_addf(&buf, "@%s", tmp); in synthesize_perf_probe_point()
2032 err = strbuf_addf(&buf, ":%d", pp->line); in synthesize_perf_probe_point()
2050 if (strbuf_addf(&buf, "%s:%s=", pev->group ?: PERFPROBE_GROUP, in synthesize_perf_probe_command()
2061 if (!tmp || strbuf_addf(&buf, " %s", tmp) < 0) in synthesize_perf_probe_command()
2083 err = strbuf_addf(buf, "%s%ld(", "+u", ref->offset); in __synthesize_probe_trace_arg_ref()
[all …]
Ddwarf-aux.c1064 return strbuf_addf(buf, "%s%s", tmp, dwarf_diename(&type)); in die_get_typename()
1087 return ret < 0 ? ret : strbuf_addf(buf, "\t%s", dwarf_diename(vr_die)); in die_get_varname()
1135 ret = strbuf_addf(buf, "@<%s+[%" PRIu64 "-%" PRIu64, in die_get_var_innermost_scope()
1139 ret = strbuf_addf(buf, ",%" PRIu64 "-%" PRIu64, in die_get_var_innermost_scope()
1199 ret = strbuf_addf(buf, "@<%s+[%" PRIu64 "-%" PRIu64, in die_get_var_range()
1203 ret = strbuf_addf(buf, ",%" PRIu64 "-%" PRIu64, in die_get_var_range()
Dstrbuf.c128 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf() function
Dprobe-file.c812 ret = strbuf_addf(buf, " arg%d=%s%s", i + 1, new_op, suffix); in synthesize_sdt_probe_arg()
838 err = strbuf_addf(&buf, "p:%s/%s %s:0x%llx", in synthesize_sdt_probe_command()
844 err = strbuf_addf(&buf, "(0x%llx)", ref_ctr_offset); in synthesize_sdt_probe_command()
Denv.c350 if (strbuf_addf(&sb, "%u:%s", pmu->type, pmu->name) < 0) in perf_env__read_pmu_mappings()
Dpmu.c1252 if (strbuf_addf(&buf, i++ ? ",%s" : "%s", format->name) < 0) in pmu_formats_string()
Dheader.c2677 if (strbuf_addf(&sb, "%u:%s", type, name) < 0) in process_pmu_mappings()
3186 if (strbuf_addf(&sb, "%s=%s", name, value) < 0) in process_per_cpu_pmu_caps()
Dsort.c3330 strbuf_addf(sb, " %s", str); in add_key()