Home
last modified time | relevance | path

Searched refs:strbuf (Results 1 – 13 of 13) sorted by relevance

/tools/perf/util/
Dstrbuf.h50 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 …]
Dstrbuf.c20 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()
Ddwarf-aux.h13 struct strbuf;
117 int die_get_typename(Dwarf_Die *vr_die, struct strbuf *buf);
120 int die_get_varname(Dwarf_Die *vr_die, struct strbuf *buf);
121 int die_get_var_range(Dwarf_Die *sp_die, Dwarf_Die *vr_die, struct strbuf *buf);
Ddwarf-aux.c1039 int die_get_typename(Dwarf_Die *vr_die, struct strbuf *buf) in die_get_typename()
1077 int die_get_varname(Dwarf_Die *vr_die, struct strbuf *buf) in die_get_varname()
1101 struct strbuf *buf) in die_get_var_innermost_scope()
1163 int die_get_var_range(Dwarf_Die *sp_die, Dwarf_Die *vr_die, struct strbuf *buf) in die_get_var_range()
1218 struct strbuf *buf __maybe_unused) in die_get_var_range()
Dmetricgroup.c602 static void metricgroup__add_metric_weak_group(struct strbuf *events, in metricgroup__add_metric_weak_group()
633 static void metricgroup__add_metric_non_group(struct strbuf *events, in metricgroup__add_metric_non_group()
967 struct strbuf *events, in metricgroup__add_metric()
1026 struct strbuf *events, in metricgroup__add_metric_list()
1088 struct strbuf extra_events; in parse_groups()
Dprobe-event.c1951 struct strbuf buf; in synthesize_perf_probe_arg()
1989 struct strbuf buf; in synthesize_perf_probe_point()
2028 struct strbuf buf; in synthesize_perf_probe_command()
2058 struct strbuf *buf, int depth) in __synthesize_probe_trace_arg_ref()
2075 struct strbuf *buf) in synthesize_probe_trace_arg()
2117 synthesize_uprobe_trace_def(struct probe_trace_event *tev, struct strbuf *buf) in synthesize_uprobe_trace_def()
2135 struct strbuf buf; in synthesize_probe_trace_command()
2264 struct strbuf buf = STRBUF_INIT; in convert_to_perf_probe_event()
2539 struct strbuf *result) in perf_probe_event__sprintf()
2582 struct strbuf buf = STRBUF_INIT; in show_perf_probe_event()
Dprobe-file.c744 static int synthesize_sdt_probe_arg(struct strbuf *buf, int i, const char *arg) in synthesize_sdt_probe_arg()
793 struct strbuf buf; in synthesize_sdt_probe_command()
Dsort.c3151 static void add_key(struct strbuf *sb, const char *str, int *llen) in add_key()
3161 static void add_sort_string(struct strbuf *sb, struct sort_dimension *s, int n, in add_sort_string()
3170 static void add_hpp_sort_string(struct strbuf *sb, struct hpp_dimension *s, int n, in add_hpp_sort_string()
3181 struct strbuf sb; in sort_help()
DBuild36 perf-y += strbuf.o
Dheader.c2368 struct strbuf sb; in process_cpu_topology()
2549 struct strbuf sb; in process_pmu_mappings()
3019 struct strbuf sb; in process_cpu_pmu_caps()
Dpmu.c1056 struct strbuf buf = STRBUF_INIT; in pmu_formats_string()
Dprobe-finder.c1501 struct strbuf buf = STRBUF_INIT; in collect_variables_cb()
/tools/perf/
Dbuiltin-help.c72 struct strbuf buffer = STRBUF_INIT; in check_emacsclient_version()