Lines Matching refs:metric_event
35 struct metric_event *metricgroup__lookup(struct rblist *metric_events, in metricgroup__lookup()
40 struct metric_event me = { in metricgroup__lookup()
49 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
54 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
61 struct metric_event *a = container_of(rb_node, in metric_event_cmp()
62 struct metric_event, in metric_event_cmp()
64 const struct metric_event *b = entry; in metric_event_cmp()
76 struct metric_event *me = malloc(sizeof(struct metric_event)); in metric_event_new()
80 memcpy(me, entry, sizeof(struct metric_event)); in metric_event_new()
81 me->evsel = ((struct metric_event *)entry)->evsel; in metric_event_new()
90 struct metric_event *me = container_of(rb_node, struct metric_event, nd); in metric_event_delete()
1577 struct metric_event *me; in parse_groups()
1786 struct metric_event *old_me, *new_me; in metricgroup__copy_metric_events()
1793 old_me = container_of(nd, struct metric_event, nd); in metricgroup__copy_metric_events()