Lines Matching refs:metric_event
31 struct metric_event *metricgroup__lookup(struct rblist *metric_events, in metricgroup__lookup()
36 struct metric_event me = { in metricgroup__lookup()
45 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
50 return container_of(nd, struct metric_event, nd); in metricgroup__lookup()
57 struct metric_event *a = container_of(rb_node, in metric_event_cmp()
58 struct metric_event, in metric_event_cmp()
60 const struct metric_event *b = entry; in metric_event_cmp()
72 struct metric_event *me = malloc(sizeof(struct metric_event)); in metric_event_new()
76 memcpy(me, entry, sizeof(struct metric_event)); in metric_event_new()
77 me->evsel = ((struct metric_event *)entry)->evsel; in metric_event_new()
131 struct metric_event *me; in metricgroup__setup_events()