Home
last modified time | relevance | path

Searched refs:rblist (Results 1 – 18 of 18) sorted by relevance

/linux/tools/perf/util/
A Drblist.c13 int rblist__add_node(struct rblist *rblist, const void *new_entry) in rblist__add_node() argument
35 new_node = rblist->node_new(rblist, new_entry); in rblist__add_node()
46 void rblist__remove_node(struct rblist *rblist, struct rb_node *rb_node) in rblist__remove_node() argument
50 rblist->node_delete(rblist, rb_node); in rblist__remove_node()
53 static struct rb_node *__rblist__findnew(struct rblist *rblist, in __rblist__findnew() argument
78 new_node = rblist->node_new(rblist, entry); in __rblist__findnew()
90 struct rb_node *rblist__find(struct rblist *rblist, const void *entry) in rblist__find() argument
100 void rblist__init(struct rblist *rblist) in rblist__init() argument
110 void rblist__exit(struct rblist *rblist) in rblist__exit() argument
121 void rblist__delete(struct rblist *rblist) in rblist__delete() argument
[all …]
A Drblist.h22 struct rblist { struct
28 void (*node_delete)(struct rblist *rblist, struct rb_node *rb_node); argument
31 void rblist__init(struct rblist *rblist);
32 void rblist__exit(struct rblist *rblist);
33 void rblist__delete(struct rblist *rblist);
34 int rblist__add_node(struct rblist *rblist, const void *new_entry);
35 void rblist__remove_node(struct rblist *rblist, struct rb_node *rb_node);
36 struct rb_node *rblist__find(struct rblist *rblist, const void *entry);
37 struct rb_node *rblist__findnew(struct rblist *rblist, const void *entry);
40 static inline bool rblist__empty(const struct rblist *rblist) in rblist__empty() argument
[all …]
A Dstrlist.c15 struct rb_node *strlist__node_new(struct rblist *rblist, const void *entry) in strlist__node_new() argument
19 struct strlist *strlist = container_of(rblist, struct strlist, rblist); in strlist__node_new()
47 void strlist__node_delete(struct rblist *rblist, struct rb_node *rb_node) in strlist__node_delete() argument
49 struct strlist *slist = container_of(rblist, struct strlist, rblist); in strlist__node_delete()
65 return rblist__add_node(&slist->rblist, new_entry); in strlist__add()
174 rblist__init(&slist->rblist); in strlist__new()
175 slist->rblist.node_cmp = strlist__node_cmp; in strlist__new()
176 slist->rblist.node_new = strlist__node_new; in strlist__new()
177 slist->rblist.node_delete = strlist__node_delete; in strlist__new()
195 rblist__delete(&slist->rblist); in strlist__delete()
[all …]
A Dintlist.c13 static struct rb_node *intlist__node_new(struct rblist *rblist __maybe_unused, in intlist__node_new()
34 static void intlist__node_delete(struct rblist *rblist __maybe_unused, in intlist__node_delete()
57 return rblist__add_node(&ilist->rblist, (void *)i); in intlist__add()
62 rblist__remove_node(&ilist->rblist, &node->rb_node); in intlist__remove()
77 rb_node = rblist__find(&ilist->rblist, (void *)i); in __intlist__findnew()
119 rblist__init(&ilist->rblist); in intlist__new()
120 ilist->rblist.node_cmp = intlist__node_cmp; in intlist__new()
121 ilist->rblist.node_new = intlist__node_new; in intlist__new()
122 ilist->rblist.node_delete = intlist__node_delete; in intlist__new()
137 rblist__delete(&ilist->rblist); in intlist__delete()
[all …]
A Dmetricgroup.h13 struct rblist;
65 struct metric_event *metricgroup__lookup(struct rblist *metric_events,
72 struct rblist *metric_events);
80 struct rblist *metric_events);
86 void metricgroup__rblist_exit(struct rblist *metric_events);
89 struct rblist *new_metric_events,
90 struct rblist *old_metric_events);
A Dintlist.h17 struct rblist rblist; member
37 return rblist__empty(&ilist->rblist); in intlist__empty()
42 return rblist__nr_entries(&ilist->rblist); in intlist__nr_entries()
48 struct rb_node *rn = rb_first_cached(&ilist->rblist.entries); in intlist__first()
A Dstrlist.h16 struct rblist rblist; member
49 return rblist__empty(&slist->rblist); in strlist__empty()
54 return rblist__nr_entries(&slist->rblist); in strlist__nr_entries()
60 struct rb_node *rn = rb_first_cached(&slist->rblist.entries); in strlist__first()
A Dstat-shadow.c86 static struct rb_node *saved_value_new(struct rblist *rblist __maybe_unused, in saved_value_new()
97 static void saved_value_delete(struct rblist *rblist __maybe_unused, in saved_value_delete()
115 struct rblist *rblist; in saved_value_lookup() local
126 rblist = &st->value_list; in saved_value_lookup()
132 nd = rblist__find(rblist, &dm); in saved_value_lookup()
136 rblist__add_node(rblist, &dm); in saved_value_lookup()
137 nd = rblist__find(rblist, &dm); in saved_value_lookup()
146 struct rblist *rblist = &st->value_list; in runtime_stat__init() local
148 rblist__init(rblist); in runtime_stat__init()
184 struct rblist *rblist; in reset_stat() local
[all …]
A Dmetricgroup.c69 static struct rb_node *metric_event_new(struct rblist *rblist __maybe_unused, in metric_event_new()
82 static void metric_event_delete(struct rblist *rblist __maybe_unused, in metric_event_delete()
106 void metricgroup__rblist_exit(struct rblist *metric_events) in metricgroup__rblist_exit()
433 struct rblist *groups, in metricgroup__print_pmu_event()
499 struct rblist *groups;
545 struct rblist groups; in metricgroup__print()
1366 struct rblist *metric_events_list, in parse_groups()
1505 struct rblist *metric_events) in metricgroup__parse_groups()
1519 struct rblist *metric_events) in metricgroup__parse_groups_test()
1548 struct rblist *new_metric_events, in metricgroup__copy_metric_events()
[all …]
A Dcgroup.h27 struct rblist;
31 struct rblist *metric_events, bool open_cgroup);
A Dstat.h108 struct rblist value_list;
156 struct rblist metric_events;
224 struct rblist *metric_events,
A Drb_resort.h143 DECLARE_RESORT_RB(__name)(&__ilist->rblist.entries.rb_root, \
144 __ilist->rblist.nr_entries)
A Dpython-ext-sources29 util/rblist.c
A Dcgroup.c396 struct rblist *metric_events, bool open_cgroup) in evlist__expand_cgroup()
400 struct rblist orig_metric_events; in evlist__expand_cgroup()
A Dpython.c88 struct rblist *new_metric_events, in metricgroup__copy_metric_events()
89 struct rblist *old_metric_events) in metricgroup__copy_metric_events()
A DBuild89 perf-y += rblist.o
/linux/tools/perf/tests/
A Dexpand-cgroup.c17 struct rblist *metric_events) in test_expand_events()
103 struct rblist metric_events; in expand_default_events()
118 struct rblist metric_events; in expand_group_events()
148 struct rblist metric_events; in expand_libpfm_events()
181 struct rblist metric_events; in expand_metric_events()
A Dparse-metric.c121 static double compute_single(struct rblist *metric_events, struct evlist *evlist, in compute_single()
145 struct rblist metric_events = { in __compute_metric()

Completed in 29 milliseconds