Lines Matching refs:sibling
654 struct perf_event *sibling; in perf_event_update_sibling_time() local
656 for_each_sibling_event(sibling, leader) in perf_event_update_sibling_time()
657 perf_event_update_time(sibling); in perf_event_update_sibling_time()
1938 struct perf_event *sibling, *group_leader = event->group_leader; in perf_event_validate_size() local
1958 for_each_sibling_event(sibling, group_leader) { in perf_event_validate_size()
1959 if (__perf_event_read_size(sibling->attr.read_format, in perf_event_validate_size()
2164 struct perf_event *sibling, *tmp; in perf_group_detach() local
2194 list_for_each_entry_safe(sibling, tmp, &event->sibling_list, sibling_list) { in perf_group_detach()
2196 if (sibling->event_caps & PERF_EV_CAP_SIBLING) in perf_group_detach()
2197 perf_remove_sibling_event(sibling); in perf_group_detach()
2199 sibling->group_leader = sibling; in perf_group_detach()
2200 list_del_init(&sibling->sibling_list); in perf_group_detach()
2203 sibling->group_caps = event->group_caps; in perf_group_detach()
2205 if (sibling->attach_state & PERF_ATTACH_CONTEXT) { in perf_group_detach()
2206 add_event_to_groups(sibling, event->ctx); in perf_group_detach()
2208 if (sibling->state == PERF_EVENT_STATE_ACTIVE) in perf_group_detach()
2209 list_add_tail(&sibling->active_list, get_event_list(sibling)); in perf_group_detach()
2212 WARN_ON_ONCE(sibling->ctx != event->ctx); in perf_group_detach()
2261 struct perf_event *sibling; in pmu_filter_match() local
2269 for_each_sibling_event(sibling, event) { in pmu_filter_match()
2270 if (!__pmu_filter_match(sibling)) { in pmu_filter_match()
5582 struct perf_event *sibling; in perf_event_for_each() local
5589 for_each_sibling_event(sibling, event) in perf_event_for_each()
5590 perf_event_for_each_child(sibling, func); in perf_event_for_each()
12272 struct perf_event *event, *sibling; in SYSCALL_DEFINE5() local
12552 for_each_sibling_event(sibling, group_leader) { in SYSCALL_DEFINE5()
12553 if (!exclusive_event_installable(sibling, ctx)) in SYSCALL_DEFINE5()
12625 for_each_sibling_event(sibling, group_leader) { in SYSCALL_DEFINE5()
12626 perf_remove_from_context(sibling, 0); in SYSCALL_DEFINE5()
12646 for_each_sibling_event(sibling, group_leader) { in SYSCALL_DEFINE5()
12647 perf_event__state_init(sibling); in SYSCALL_DEFINE5()
12648 perf_install_in_context(ctx, sibling, sibling->cpu); in SYSCALL_DEFINE5()