Lines Matching refs:sub
4408 struct perf_event *sub, *event = data->event; in __perf_event_read() local
4446 for_each_sibling_event(sub, event) { in __perf_event_read()
4447 if (sub->state == PERF_EVENT_STATE_ACTIVE) { in __perf_event_read()
4452 sub->pmu->read(sub); in __perf_event_read()
5310 struct perf_event *sub, *parent; in __perf_read_group_add() local
5372 for_each_sibling_event(sub, leader) { in __perf_read_group_add()
5373 values[n++] += perf_event_count(sub); in __perf_read_group_add()
5375 values[n++] = primary_event_id(sub); in __perf_read_group_add()
5377 values[n++] = atomic64_read(&sub->lost_samples); in __perf_read_group_add()
7018 struct perf_event *leader = event->group_leader, *sub; in perf_output_read_group() local
7050 for_each_sibling_event(sub, leader) { in perf_output_read_group()
7053 if ((sub != event) && in perf_output_read_group()
7054 (sub->state == PERF_EVENT_STATE_ACTIVE)) in perf_output_read_group()
7055 sub->pmu->read(sub); in perf_output_read_group()
7057 values[n++] = perf_event_count(sub); in perf_output_read_group()
7059 values[n++] = primary_event_id(sub); in perf_output_read_group()
7061 values[n++] = atomic64_read(&sub->lost_samples); in perf_output_read_group()
13299 struct perf_event *sub; in inherit_group() local
13311 for_each_sibling_event(sub, parent_event) { in inherit_group()
13312 child_ctr = inherit_event(sub, parent, parent_ctx, in inherit_group()
13317 if (sub->aux_event == parent_event && child_ctr && in inherit_group()