| /tools/perf/util/ |
| A D | strbuf.h | 50 struct strbuf { struct 59 int strbuf_init(struct strbuf *buf, ssize_t hint); 60 void strbuf_release(struct strbuf *buf); 61 char *strbuf_detach(struct strbuf *buf, size_t *); 64 static inline ssize_t strbuf_avail(const struct strbuf *sb) { in strbuf_avail() 68 int strbuf_grow(struct strbuf *buf, size_t); 70 static inline int strbuf_setlen(struct strbuf *sb, size_t len) { in strbuf_setlen() 83 int strbuf_addch(struct strbuf *sb, int c); 85 int strbuf_add(struct strbuf *buf, const void *, size_t); 86 static inline int strbuf_addstr(struct strbuf *sb, const char *s) { in strbuf_addstr() [all …]
|
| A D | strbuf.c | 20 int strbuf_init(struct strbuf *sb, ssize_t hint) in strbuf_init() 29 void strbuf_release(struct strbuf *sb) in strbuf_release() 37 char *strbuf_detach(struct strbuf *sb, size_t *sz) in strbuf_detach() 46 int strbuf_grow(struct strbuf *sb, size_t extra) in strbuf_grow() 73 int strbuf_addch(struct strbuf *sb, int c) in strbuf_addch() 84 int strbuf_add(struct strbuf *sb, const void *data, size_t len) in strbuf_add() 94 static int strbuf_addv(struct strbuf *sb, const char *fmt, va_list ap) in strbuf_addv() 128 int strbuf_addf(struct strbuf *sb, const char *fmt, ...) in strbuf_addf() 139 ssize_t strbuf_read(struct strbuf *sb, int fd, ssize_t hint) in strbuf_read()
|
| A D | dwarf-aux.h | 13 struct strbuf; 126 int die_get_typename_from_type(Dwarf_Die *type_die, struct strbuf *buf); 129 int die_get_typename(Dwarf_Die *vr_die, struct strbuf *buf); 132 int die_get_varname(Dwarf_Die *vr_die, struct strbuf *buf); 160 int die_get_var_range(Dwarf_Die *sp_die, Dwarf_Die *vr_die, struct strbuf *buf);
|
| A D | pfm.c | 173 print_attr_flags(struct strbuf *buf, const pfm_event_attr_info_t *info) in print_attr_flags() 185 struct strbuf *buf) in print_libpfm_event() 287 struct strbuf storage; in print_libpfm_events()
|
| A D | parse-events.h | 22 struct strbuf; 202 int parse_events_terms__to_strbuf(const struct parse_events_terms *terms, struct strbuf *sb);
|
| A D | evlist.h | 25 struct strbuf; 442 void evlist__format_evsels(struct evlist *evlist, struct strbuf *sb, size_t max_length);
|
| A D | metricgroup.c | 440 static int encode_metric_id(struct strbuf *sb, const char *x) in encode_metric_id() 464 static int decode_metric_id(struct strbuf *sb, const char *x) in decode_metric_id() 492 struct strbuf sb = STRBUF_INIT; in decode_all_metric_ids() 548 static int metricgroup__build_event_string(struct strbuf *events, in metricgroup__build_event_string() 1256 struct strbuf events = STRBUF_INIT; in parse_ids()
|
| A D | probe-event.c | 2033 struct strbuf buf; in synthesize_perf_probe_arg() 2071 struct strbuf buf; in synthesize_perf_probe_point() 2110 struct strbuf buf; in synthesize_perf_probe_command() 2144 struct strbuf *buf, int depth) in __synthesize_probe_trace_arg_ref() 2161 struct strbuf *buf) in synthesize_probe_trace_arg() 2214 synthesize_uprobe_trace_def(struct probe_trace_point *tp, struct strbuf *buf) in synthesize_uprobe_trace_def() 2257 struct strbuf buf; in synthesize_probe_trace_command() 2360 struct strbuf buf = STRBUF_INIT; in convert_to_perf_probe_event() 2634 struct strbuf *result) in perf_probe_event__sprintf() 2677 struct strbuf buf = STRBUF_INIT; in show_perf_probe_event() [all …]
|
| A D | dwarf-aux.c | 1107 int die_get_typename_from_type(Dwarf_Die *type_die, struct strbuf *buf) in die_get_typename_from_type() 1155 int die_get_typename(Dwarf_Die *vr_die, struct strbuf *buf) in die_get_typename() 1172 int die_get_varname(Dwarf_Die *vr_die, struct strbuf *buf) in die_get_varname() 1258 struct strbuf *buf) in die_get_var_innermost_scope() 1320 int die_get_var_range(Dwarf_Die *sp_die, Dwarf_Die *vr_die, struct strbuf *buf) in die_get_var_range()
|
| A D | parse-events.c | 1494 struct strbuf sb; in parse_events_add_pmu() 1548 struct strbuf sb; in parse_events_add_pmu() 1669 struct strbuf sb; in parse_events_multi_pmu_add() 1684 struct strbuf sb; in parse_events_multi_pmu_add() 2298 struct strbuf sb = STRBUF_INIT; in __parse_events() 2826 int parse_events_terms__to_strbuf(const struct parse_events_terms *terms, struct strbuf *sb) in parse_events_terms__to_strbuf()
|
| A D | pmus.c | 675 struct strbuf short_string; 676 struct strbuf long_string;
|
| A D | annotate-data.c | 44 struct strbuf sb; in pr_debug_type_name() 227 struct strbuf sb; in __add_member_cb() 357 struct strbuf sb; in dso__findnew_data_type() 1073 struct strbuf sb; in check_matching_type()
|
| A D | probe-file.c | 760 static int synthesize_sdt_probe_arg(struct strbuf *buf, int i, const char *arg) in synthesize_sdt_probe_arg() 809 struct strbuf buf; in synthesize_sdt_probe_command()
|
| A D | env.c | 367 struct strbuf sb; in perf_env__read_pmu_mappings()
|
| A D | sort.c | 4277 static void add_key(struct strbuf *sb, const char *str, int *llen) in add_key() 4290 static void add_sort_string(struct strbuf *sb, struct sort_dimension *s, int n, in add_sort_string() 4299 static void add_hpp_sort_string(struct strbuf *sb, struct hpp_dimension *s, int n, in add_hpp_sort_string() 4310 struct strbuf sb; in sort_help()
|
| A D | pmu.c | 1471 struct strbuf buf = STRBUF_INIT; in pmu_formats_string() 2072 struct strbuf sb; in perf_pmu__for_each_event()
|
| A D | Build | 46 perf-util-y += strbuf.o
|
| A D | annotate.c | 1798 struct strbuf sb; in annotation_br_cntr_abbr_list() 1846 struct strbuf sb; in annotation_br_cntr_entry()
|
| A D | python.c | 1414 struct strbuf sb = STRBUF_INIT; in pyrf_evlist__str()
|
| /tools/perf/ |
| A D | builtin-list.c | 308 static void fix_escape_fprintf(FILE *fp, struct strbuf *buf, const char *fmt, ...) in fix_escape_fprintf() 374 struct strbuf buf; in json_print_event() 450 struct strbuf buf; in json_print_metric()
|
| A D | builtin-help.c | 74 struct strbuf buffer = STRBUF_INIT; in check_emacsclient_version()
|
| /tools/perf/bench/ |
| A D | evlist-open-close.c | 187 struct strbuf buf; in bench__repeat_event_string()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | reg_bounds.c | 39 struct strbuf { struct 46 struct { struct strbuf buf; char data[(N)]; } ___##name; \ argument 47 struct strbuf *name = (___##name.buf.buf_sz = (N), ___##name.buf.pos = 0, &___##name.buf) 50 static inline void snappendf(struct strbuf *s, const char *fmt, ...) in snappendf() 159 static void snprintf_num(enum num_t t, struct strbuf *sb, u64 x) in snprintf_num() 222 static void snprintf_range(enum num_t t, struct strbuf *sb, struct range x) in snprintf_range() 1386 static void subtest_case_str(struct strbuf *sb, struct subtest_case *t, bool use_op) in subtest_case_str()
|
| /tools/perf/tests/ |
| A D | builtin-test.c | 395 struct strbuf err_output = STRBUF_INIT; in finish_test()
|
| /tools/perf/arch/x86/tests/ |
| A D | amd-ibs-period.c | 107 struct strbuf sb; in dummy_workload_2()
|