Lines Matching refs:me
41 struct metric_event me = {
49 me.evsel = evsel->metric_leader;
50 nd = rblist__find(metric_events, &me);
54 rblist__add_node(metric_events, &me);
55 nd = rblist__find(metric_events, &me);
79 struct metric_event *me = malloc(sizeof(struct metric_event));
81 if (!me)
83 memcpy(me, entry, sizeof(struct metric_event));
84 me->evsel = ((struct metric_event *)entry)->evsel;
85 me->is_default = false;
86 INIT_LIST_HEAD(&me->head);
87 return &me->nd;
93 struct metric_event *me = container_of(rb_node, struct metric_event, nd);
96 list_for_each_entry_safe(expr, tmp, &me->head, nd) {
103 free(me);
415 struct mep *me = malloc(sizeof(struct mep));
417 if (!me)
420 memcpy(me, entry, sizeof(struct mep));
421 return &me->nd;
427 struct mep *me = container_of(nd, struct mep, nd);
429 zfree(&me->metric_group);
430 free(me);
437 struct mep me = {
441 nd = rblist__find(groups, &me);
443 free(me.metric_group);
446 rblist__add_node(groups, &me);
447 nd = rblist__find(groups, &me);
464 struct mep *me;
468 me = mep_lookup(groups, g, pm->metric_name);
470 me = mep_lookup(groups, pm->metric_name, pm->metric_name);
472 if (me) {
473 me->metric_desc = pm->desc;
474 me->metric_long_desc = pm->long_desc;
475 me->metric_expr = pm->metric_expr;
476 me->metric_threshold = pm->metric_threshold;
477 me->metric_unit = pm->unit;
544 struct mep *me = container_of(node, struct mep, nd);
547 me->metric_group,
548 me->metric_name,
549 me->metric_desc,
550 me->metric_long_desc,
551 me->metric_expr,
552 me->metric_threshold,
553 me->metric_unit);
1579 struct metric_event *me;
1635 me = metricgroup__lookup(metric_events_list, metric_events[0], true);
1667 me->is_default = is_default;
1668 list_add(&expr->nd, &me->head);