• Home
  • Raw
  • Download

Lines Matching refs:me

34 	struct metric_event me = {  in metricgroup__lookup()  local
41 nd = rblist__find(metric_events, &me); in metricgroup__lookup()
45 rblist__add_node(metric_events, &me); in metricgroup__lookup()
46 nd = rblist__find(metric_events, &me); in metricgroup__lookup()
70 struct metric_event *me = malloc(sizeof(struct metric_event)); in metric_event_new() local
72 if (!me) in metric_event_new()
74 memcpy(me, entry, sizeof(struct metric_event)); in metric_event_new()
75 me->evsel = ((struct metric_event *)entry)->evsel; in metric_event_new()
76 INIT_LIST_HEAD(&me->head); in metric_event_new()
77 return &me->nd; in metric_event_new()
83 struct metric_event *me = container_of(rb_node, struct metric_event, nd); in metric_event_delete() local
86 list_for_each_entry_safe(expr, tmp, &me->head, nd) { in metric_event_delete()
92 free(me); in metric_event_delete()
299 struct metric_event *me; in metricgroup__setup_events() local
333 me = metricgroup__lookup(metric_events_list, evsel, true); in metricgroup__setup_events()
334 if (!me) { in metricgroup__setup_events()
381 list_add(&expr->nd, &me->head); in metricgroup__setup_events()
433 struct mep *me = malloc(sizeof(struct mep)); in mep_new() local
435 if (!me) in mep_new()
437 memcpy(me, entry, sizeof(struct mep)); in mep_new()
438 me->name = strdup(me->name); in mep_new()
439 if (!me->name) in mep_new()
441 me->metrics = strlist__new(NULL, NULL); in mep_new()
442 if (!me->metrics) in mep_new()
444 return &me->nd; in mep_new()
446 zfree(&me->name); in mep_new()
448 free(me); in mep_new()
455 struct mep me = { in mep_lookup() local
458 nd = rblist__find(groups, &me); in mep_lookup()
461 rblist__add_node(groups, &me); in mep_lookup()
462 nd = rblist__find(groups, &me); in mep_lookup()
471 struct mep *me = container_of(nd, struct mep, nd); in mep_delete() local
473 strlist__delete(me->metrics); in mep_delete()
474 zfree(&me->name); in mep_delete()
475 free(me); in mep_delete()
539 struct mep *me; in metricgroup__print() local
567 me = mep_lookup(&groups, g); in metricgroup__print()
568 if (!me) in metricgroup__print()
570 strlist__add(me->metrics, s); in metricgroup__print()
588 struct mep *me = container_of(node, struct mep, nd); in metricgroup__print() local
591 printf("%s%s%s", me->name, metrics && !raw ? ":" : "", raw ? " " : "\n"); in metricgroup__print()
593 metricgroup__print_strlist(me->metrics, raw); in metricgroup__print()