Searched refs:strbuf_addf (Results 1 – 10 of 10) sorted by relevance
/tools/perf/util/ |
D | strbuf.h | 90 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) __printf(2, 3);
|
D | metricgroup.c | 707 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()
|
D | probe-event.c | 1974 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 …]
|
D | dwarf-aux.c | 1064 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()
|
D | strbuf.c | 128 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf() function
|
D | probe-file.c | 812 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()
|
D | env.c | 350 if (strbuf_addf(&sb, "%u:%s", pmu->type, pmu->name) < 0) in perf_env__read_pmu_mappings()
|
D | pmu.c | 1252 if (strbuf_addf(&buf, i++ ? ",%s" : "%s", format->name) < 0) in pmu_formats_string()
|
D | header.c | 2677 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()
|
D | sort.c | 3330 strbuf_addf(sb, " %s", str); in add_key()
|