Home
last modified time | relevance | path

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

/linux-2.6.39/tools/perf/util/
Dsort.h47 struct hist_entry { struct
70 struct hist_entry *pair; argument
94 int64_t (*se_cmp)(struct hist_entry *, struct hist_entry *); argument
95 int64_t (*se_collapse)(struct hist_entry *, struct hist_entry *);
96 int (*se_snprintf)(struct hist_entry *self, char *bf, size_t size,
107 extern size_t sort__thread_print(FILE *, struct hist_entry *, unsigned int);
108 extern size_t sort__comm_print(FILE *, struct hist_entry *, unsigned int);
109 extern size_t sort__dso_print(FILE *, struct hist_entry *, unsigned int);
110 extern size_t sort__sym_print(FILE *, struct hist_entry *, unsigned int __used);
112 extern int64_t sort__thread_cmp(struct hist_entry *, struct hist_entry *);
[all …]
Dhist.h9 struct hist_entry;
55 struct hist_entry *__hists__add_entry(struct hists *self,
58 extern int64_t hist_entry__cmp(struct hist_entry *, struct hist_entry *);
59 extern int64_t hist_entry__collapse(struct hist_entry *, struct hist_entry *);
60 int hist_entry__fprintf(struct hist_entry *self, struct hists *hists,
63 int hist_entry__snprintf(struct hist_entry *self, char *bf, size_t size,
67 void hist_entry__free(struct hist_entry *);
78 int hist_entry__inc_addr_samples(struct hist_entry *self, int evidx, u64 addr);
79 int hist_entry__annotate(struct hist_entry *self, size_t privsize);
98 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 …]
/linux-2.6.39/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.c48 struct hist_entry *he; in perf_evlist__add_sample()
105 static int hist_entry__tty_annotate(struct hist_entry *he, int evidx) in hist_entry__tty_annotate()
117 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); in hists__find_annotations()
Dbuiltin-report.c58 struct hist_entry *he; in perf_session__add_hist_entry()
/linux-2.6.39/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.c250 int hist_entry__tui_annotate(struct hist_entry *he, int evidx) in hist_entry__tui_annotate()