Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/util/
Dmetricgroup.c620 strbuf_addf(events, "%s%s", in metricgroup__add_metric_weak_group()
626 strbuf_addf(events, "}:W"); in metricgroup__add_metric_weak_group()
628 strbuf_addf(events, ",duration_time"); in metricgroup__add_metric_weak_group()
630 strbuf_addf(events, "duration_time"); in metricgroup__add_metric_weak_group()
642 strbuf_addf(events, ","); in metricgroup__add_metric_non_group()
643 strbuf_addf(events, "%s", (const char *)cur->key); in metricgroup__add_metric_non_group()
1004 strbuf_addf(events, ","); in metricgroup__add_metric()
1039 strbuf_addf(events, "%s", ""); in metricgroup__add_metric_list()
Dprobe-event.c1955 err = strbuf_addf(&buf, "%s=%s", pa->name, pa->var); in synthesize_perf_probe_arg()
1965 err = strbuf_addf(&buf, "%s%s", field->ref ? "->" : ".", in synthesize_perf_probe_arg()
1973 if (strbuf_addf(&buf, ":%s", pa->type) < 0) in synthesize_perf_probe_arg()
1996 err = strbuf_addf(&buf, "+%lu", pp->offset); in synthesize_perf_probe_point()
1998 err = strbuf_addf(&buf, ":%d", pp->line); in synthesize_perf_probe_point()
2011 err = strbuf_addf(&buf, "@%s", tmp); in synthesize_perf_probe_point()
2013 err = strbuf_addf(&buf, ":%d", pp->line); in synthesize_perf_probe_point()
2031 if (strbuf_addf(&buf, "%s:%s=", pev->group ?: PERFPROBE_GROUP, in synthesize_perf_probe_command()
2042 if (!tmp || strbuf_addf(&buf, " %s", tmp) < 0) in synthesize_perf_probe_command()
2064 err = strbuf_addf(buf, "%s%ld(", "+u", ref->offset); in __synthesize_probe_trace_arg_ref()
[all …]
Ddwarf-aux.c1073 return strbuf_addf(buf, "%s%s", tmp, dwarf_diename(&type)); in die_get_typename()
1096 return ret < 0 ? ret : strbuf_addf(buf, "\t%s", dwarf_diename(vr_die)); in die_get_varname()
1144 ret = strbuf_addf(buf, "@<%s+[%" PRIu64 "-%" PRIu64, in die_get_var_innermost_scope()
1148 ret = strbuf_addf(buf, ",%" PRIu64 "-%" PRIu64, in die_get_var_innermost_scope()
1208 ret = strbuf_addf(buf, "@<%s+[%" PRIu64 "-%" PRIu64, in die_get_var_range()
1212 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.c777 ret = strbuf_addf(buf, " arg%d=%s%s", i + 1, new_op, suffix); in synthesize_sdt_probe_arg()
801 err = strbuf_addf(&buf, "p:%s/%s %s:0x%llx", in synthesize_sdt_probe_command()
807 err = strbuf_addf(&buf, "(0x%llx)", ref_ctr_offset); in synthesize_sdt_probe_command()
Dpmu.c1047 if (strbuf_addf(&buf, i++ ? ",%s" : "%s", format->name) < 0) in pmu_formats_string()
Dheader.c2571 if (strbuf_addf(&sb, "%u:%s", type, name) < 0) in process_pmu_mappings()
3044 if (strbuf_addf(&sb, "%s=%s", name, value) < 0) in process_cpu_pmu_caps()
Dsort.c3158 strbuf_addf(sb, " %s", str); in add_key()