Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dpfm.c167 strbuf_addf(buf, "[default] "); in print_attr_flags()
170 strbuf_addf(buf, "[precise] "); in print_attr_flags()
187 strbuf_addf(buf, "Code: 0x%"PRIx64"\n", info->code); in print_libpfm_event()
206 strbuf_addf(buf, " Modif: %s: [%s] : %s (boolean)\n", src, in print_libpfm_event()
210 strbuf_addf(buf, " Modif: %s: [%s] : %s (integer)\n", src, in print_libpfm_event()
217 strbuf_addf(buf, " Attr: %s: [%s] : %s\n", src, in print_libpfm_event()
247 strbuf_addf(buf, "Umask: 0x%02"PRIx64" : %s: ", in print_libpfm_event()
H A Dprobe-event.c2006 if (strbuf_addf(&buf, ":%s", pa->type) < 0) in synthesize_perf_probe_arg()
2029 err = strbuf_addf(&buf, "+%lu", pp->offset); in synthesize_perf_probe_point()
2031 err = strbuf_addf(&buf, ":%d", pp->line); in synthesize_perf_probe_point()
2044 err = strbuf_addf(&buf, "@%s", tmp); in synthesize_perf_probe_point()
2046 err = strbuf_addf(&buf, ":%d", pp->line); in synthesize_perf_probe_point()
2103 err = strbuf_addf(buf, "%+ld(", ref->offset); in __synthesize_probe_trace_arg_ref()
2115 err = strbuf_addf(buf, " %s=", arg->name); in synthesize_probe_trace_arg()
2144 err = strbuf_addf(buf, ":%s", arg->type); in synthesize_probe_trace_arg()
2590 ret = strbuf_addf(result, " %-20s (on ", buf); in perf_probe_event__sprintf()
2603 ret = strbuf_addf(result, " in %s", module); in perf_probe_event__sprintf()
[all …]
H A Dstrbuf.h90 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) __printf(2, 3);
H A Ddwarf-aux.c1090 return strbuf_addf(buf, "%s%s", tmp, name ?: ""); in die_get_typename()
1113 return ret < 0 ? ret : strbuf_addf(buf, "\t%s", dwarf_diename(vr_die)); in die_get_varname()
1161 ret = strbuf_addf(buf, "@<%s+[%" PRIu64 "-%" PRIu64, in die_get_var_innermost_scope()
1165 ret = strbuf_addf(buf, ",%" PRIu64 "-%" PRIu64, in die_get_var_innermost_scope()
1225 ret = strbuf_addf(buf, "@<%s+[%" PRIu64 "-%" PRIu64, in die_get_var_range()
1229 ret = strbuf_addf(buf, ",%" PRIu64 "-%" PRIu64, in die_get_var_range()
H A Dstrbuf.c128 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf() function
H A Dparse-events.c1400 strbuf_addf(&sb, "%s//", name); in parse_events_add_pmu()
1402 strbuf_addf(&sb, "%s/", name); in parse_events_add_pmu()
2611 ret = strbuf_addf(sb, "%s", term->config); in parse_events_term__to_strbuf()
2613 ret = strbuf_addf(sb, "%s=%#"PRIx64, term->config, term->val.num); in parse_events_term__to_strbuf()
2616 ret = strbuf_addf(sb, "%s=", term->config); in parse_events_term__to_strbuf()
2620 ret = strbuf_addf(sb, "%s=", config_term_name(term->type_term)); in parse_events_term__to_strbuf()
2625 ret = strbuf_addf(sb, "%s", term->val.str); in parse_events_term__to_strbuf()
H A 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()
H A Denv.c354 if (strbuf_addf(&sb, "%u:%s", pmu->type, pmu->name) < 0) in perf_env__read_pmu_mappings()
H A Dmetricgroup.c751 ret = strbuf_addf(events, "}:W"); in metricgroup__build_event_string()
H A Dpmu.c1292 if (strbuf_addf(&buf, i++ ? ",%s" : "%s", format->name) < 0) in pmu_formats_string()
H A Dsort.c3731 strbuf_addf(sb, " %s", str); in add_key()
H A Dheader.c2782 if (strbuf_addf(&sb, "%u:%s", type, name) < 0) in process_pmu_mappings()