Home
last modified time | relevance | path

Searched refs:hist_entry (Results 1 – 11 of 11) sorted by relevance

/external/linux-tools-perf/util/
Dsort.h55 struct hist_entry { struct
78 struct hist_entry *pair; argument
102 int64_t (*se_cmp)(struct hist_entry *, struct hist_entry *); argument
103 int64_t (*se_collapse)(struct hist_entry *, struct hist_entry *);
104 int (*se_snprintf)(struct hist_entry *self, char *bf, size_t size,
115 extern size_t sort__thread_print(FILE *, struct hist_entry *, unsigned int);
116 extern size_t sort__comm_print(FILE *, struct hist_entry *, unsigned int);
117 extern size_t sort__dso_print(FILE *, struct hist_entry *, unsigned int);
118 extern size_t sort__sym_print(FILE *, struct hist_entry *, unsigned int __used);
120 extern int64_t sort__thread_cmp(struct hist_entry *, struct hist_entry *);
[all …]
Dhist.h15 struct hist_entry;
61 struct hist_entry *__hists__add_entry(struct hists *self,
64 extern int64_t hist_entry__cmp(struct hist_entry *, struct hist_entry *);
65 extern int64_t hist_entry__collapse(struct hist_entry *, struct hist_entry *);
66 int hist_entry__fprintf(struct hist_entry *self, struct hists *hists,
69 int hist_entry__snprintf(struct hist_entry *self, char *bf, size_t size,
73 void hist_entry__free(struct hist_entry *);
84 int hist_entry__inc_addr_samples(struct hist_entry *self, int evidx, u64 addr);
85 int hist_entry__annotate(struct hist_entry *self, size_t privsize);
104 static inline int hist_entry__tui_annotate(struct hist_entry *self __used, in hist_entry__tui_annotate()
[all …]
Dsort.c18 static int hist_entry__thread_snprintf(struct hist_entry *self, char *bf,
20 static int hist_entry__comm_snprintf(struct hist_entry *self, char *bf,
22 static int hist_entry__dso_snprintf(struct hist_entry *self, char *bf,
24 static int hist_entry__sym_snprintf(struct hist_entry *self, char *bf,
26 static int hist_entry__parent_snprintf(struct hist_entry *self, char *bf,
28 static int hist_entry__cpu_snprintf(struct hist_entry *self, char *bf,
102 sort__thread_cmp(struct hist_entry *left, struct hist_entry *right) in sort__thread_cmp()
128 static int hist_entry__thread_snprintf(struct hist_entry *self, char *bf, in hist_entry__thread_snprintf()
135 static int hist_entry__comm_snprintf(struct hist_entry *self, char *bf, in hist_entry__comm_snprintf()
144 sort__dso_cmp(struct hist_entry *left, struct hist_entry *right) in sort__dso_cmp()
[all …]
Dhist.c47 static void hists__calc_col_len(struct hists *self, struct hist_entry *h) in hists__calc_col_len()
73 static void hist_entry__add_cpumode_period(struct hist_entry *self, in hist_entry__add_cpumode_period()
98 static struct hist_entry *hist_entry__new(struct hist_entry *template) in hist_entry__new()
101 struct hist_entry *self = malloc(sizeof(*self) + callchain_size); in hist_entry__new()
115 static void hists__inc_nr_entries(struct hists *self, struct hist_entry *h) in hists__inc_nr_entries()
130 struct hist_entry *__hists__add_entry(struct hists *self, in __hists__add_entry()
136 struct hist_entry *he; in __hists__add_entry()
137 struct hist_entry entry = { in __hists__add_entry()
154 he = rb_entry(parent, struct hist_entry, rb_node); in __hists__add_entry()
182 hist_entry__cmp(struct hist_entry *left, struct hist_entry *right) in hist_entry__cmp()
[all …]
/external/qemu/
Dreadline.c180 if (rs->hist_entry == 0) in readline_up_char()
182 if (rs->hist_entry == -1) { in readline_up_char()
188 rs->hist_entry = idx; in readline_up_char()
190 rs->hist_entry--; in readline_up_char()
191 if (rs->hist_entry >= 0) { in readline_up_char()
193 rs->history[rs->hist_entry]); in readline_up_char()
200 if (rs->hist_entry == -1) in readline_down_char()
202 if (rs->hist_entry < READLINE_MAX_CMDS - 1 && in readline_down_char()
203 rs->history[++rs->hist_entry] != NULL) { in readline_down_char()
205 rs->history[rs->hist_entry]); in readline_down_char()
[all …]
Dreadline.h26 int hist_entry; member
/external/linux-tools-perf/
Dbuiltin-diff.c70 struct hist_entry *he) in perf_session__insert_hist_entry_by_name()
74 struct hist_entry *iter; in perf_session__insert_hist_entry_by_name()
78 iter = rb_entry(parent, struct hist_entry, rb_node); in perf_session__insert_hist_entry_by_name()
96 struct hist_entry *n = rb_entry(next, struct hist_entry, rb_node); in hists__resort_entries()
113 static struct hist_entry *hists__find_entry(struct hists *self, in hists__find_entry()
114 struct hist_entry *he) in hists__find_entry()
119 struct hist_entry *iter = rb_entry(n, struct hist_entry, rb_node); in hists__find_entry()
138 struct hist_entry *pos = rb_entry(nd, struct hist_entry, rb_node); in hists__match()
Dbuiltin-annotate.c54 struct hist_entry *he; in perf_evlist__add_sample()
111 static int hist_entry__tty_annotate(struct hist_entry *he, int evidx) in hist_entry__tty_annotate()
123 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
Dbuiltin-report.c66 struct hist_entry *he; in perf_session__add_hist_entry()
/external/linux-tools-perf/util/ui/browsers/
Dhists.c25 struct hist_entry *he_selection;
53 static char hist_entry__folded(const struct hist_entry *self) in hist_entry__folded()
175 static void hist_entry__init_have_children(struct hist_entry *self) in hist_entry__init_have_children()
187 struct hist_entry *he = self->he_selection; in hist_browser__toggle_fold()
260 static void hist_entry__set_folding(struct hist_entry *self, bool unfold) in hist_entry__set_folding()
279 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__set_folding()
317 struct hist_entry *h = rb_entry(self->b.top, in hist_browser__run()
318 struct hist_entry, rb_node); in hist_browser__run()
529 struct hist_entry *entry, in hist_browser__show_entry()
598 struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node); in hist_browser__refresh()
[all …]
Dannotate.c249 int hist_entry__tui_annotate(struct hist_entry *he, int evidx) in hist_entry__tui_annotate()