Lines Matching refs:me

36 	struct metric_event me = {  in metricgroup__lookup()  local
43 nd = rblist__find(metric_events, &me); in metricgroup__lookup()
47 rblist__add_node(metric_events, &me); in metricgroup__lookup()
48 nd = rblist__find(metric_events, &me); in metricgroup__lookup()
72 struct metric_event *me = malloc(sizeof(struct metric_event)); in metric_event_new() local
74 if (!me) 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()
78 INIT_LIST_HEAD(&me->head); in metric_event_new()
79 return &me->nd; in metric_event_new()
131 struct metric_event *me; in metricgroup__setup_events() local
155 me = metricgroup__lookup(metric_events_list, evsel, true); in metricgroup__setup_events()
156 if (!me) { in metricgroup__setup_events()
168 list_add(&expr->nd, &me->head); in metricgroup__setup_events()
211 struct mep *me = malloc(sizeof(struct mep)); in mep_new() local
213 if (!me) in mep_new()
215 memcpy(me, entry, sizeof(struct mep)); in mep_new()
216 me->name = strdup(me->name); in mep_new()
217 if (!me->name) in mep_new()
219 me->metrics = strlist__new(NULL, NULL); in mep_new()
220 if (!me->metrics) in mep_new()
222 return &me->nd; in mep_new()
224 free((char *)me->name); in mep_new()
226 free(me); in mep_new()
233 struct mep me = { in mep_lookup() local
236 nd = rblist__find(groups, &me); in mep_lookup()
239 rblist__add_node(groups, &me); in mep_lookup()
240 nd = rblist__find(groups, &me); in mep_lookup()
249 struct mep *me = container_of(nd, struct mep, nd); in mep_delete() local
251 strlist__delete(me->metrics); in mep_delete()
252 free((void *)me->name); in mep_delete()
253 free(me); in mep_delete()
317 struct mep *me; in metricgroup__print() local
340 me = mep_lookup(&groups, g); in metricgroup__print()
341 if (!me) in metricgroup__print()
343 strlist__add(me->metrics, s); in metricgroup__print()
356 struct mep *me = container_of(node, struct mep, nd); in metricgroup__print() local
359 printf("%s%s%s", me->name, metrics ? ":" : "", raw ? " " : "\n"); in metricgroup__print()
361 metricgroup__print_strlist(me->metrics, raw); in metricgroup__print()