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()
85 struct metric_event *me = container_of(rb_node, struct metric_event, nd); in metric_event_delete() local
88 list_for_each_entry_safe(expr, tmp, &me->head, nd) { in metric_event_delete()
95 free(me); in metric_event_delete()
369 struct mep *me = malloc(sizeof(struct mep)); in mep_new() local
371 if (!me) in mep_new()
373 memcpy(me, entry, sizeof(struct mep)); in mep_new()
374 me->name = strdup(me->name); in mep_new()
375 if (!me->name) in mep_new()
377 me->metrics = strlist__new(NULL, NULL); in mep_new()
378 if (!me->metrics) in mep_new()
380 return &me->nd; in mep_new()
382 zfree(&me->name); in mep_new()
384 free(me); in mep_new()
391 struct mep me = { in mep_lookup() local
394 nd = rblist__find(groups, &me); in mep_lookup()
397 rblist__add_node(groups, &me); in mep_lookup()
398 nd = rblist__find(groups, &me); in mep_lookup()
407 struct mep *me = container_of(nd, struct mep, nd); in mep_delete() local
409 strlist__delete(me->metrics); in mep_delete()
410 zfree(&me->name); in mep_delete()
411 free(me); in mep_delete()
455 struct mep *me; in metricgroup__print_pmu_event() local
482 me = mep_lookup(groups, g); in metricgroup__print_pmu_event()
483 if (!me) in metricgroup__print_pmu_event()
485 strlist__add(me->metrics, s); in metricgroup__print_pmu_event()
600 struct mep *me = container_of(node, struct mep, nd); in metricgroup__print() local
603 printf("%s%s%s", me->name, metrics && !raw ? ":" : "", raw ? " " : "\n"); in metricgroup__print()
605 metricgroup__print_strlist(me->metrics, raw); in metricgroup__print()
1402 struct metric_event *me; in parse_groups() local
1452 me = metricgroup__lookup(metric_events_list, metric_events[0], true); in parse_groups()
1482 list_add(&expr->nd, &me->head); in parse_groups()