child_event 11492 kernel/events/core.c static void sync_child_event(struct perf_event *child_event, child_event 11495 kernel/events/core.c struct perf_event *parent_event = child_event->parent; child_event 11498 kernel/events/core.c if (child_event->attr.inherit_stat) child_event 11499 kernel/events/core.c perf_event_read_event(child_event, child); child_event 11501 kernel/events/core.c child_val = perf_event_count(child_event); child_event 11507 kernel/events/core.c atomic64_add(child_event->total_time_enabled, child_event 11509 kernel/events/core.c atomic64_add(child_event->total_time_running, child_event 11514 kernel/events/core.c perf_event_exit_event(struct perf_event *child_event, child_event 11518 kernel/events/core.c struct perf_event *parent_event = child_event->parent; child_event 11536 kernel/events/core.c perf_group_detach(child_event); child_event 11537 kernel/events/core.c list_del_event(child_event, child_ctx); child_event 11538 kernel/events/core.c perf_event_set_state(child_event, PERF_EVENT_STATE_EXIT); /* is_event_hup() */ child_event 11545 kernel/events/core.c perf_event_wakeup(child_event); child_event 11552 kernel/events/core.c sync_child_event(child_event, child); child_event 11559 kernel/events/core.c list_del_init(&child_event->child_list); child_event 11566 kernel/events/core.c free_event(child_event); child_event 11573 kernel/events/core.c struct perf_event *child_event, *next; child_event 11623 kernel/events/core.c list_for_each_entry_safe(child_event, next, &child_ctx->event_list, event_entry) child_event 11624 kernel/events/core.c perf_event_exit_event(child_event, child_ctx, child); child_event 11799 kernel/events/core.c struct perf_event *child_event; child_event 11811 kernel/events/core.c child_event = perf_event_alloc(&parent_event->attr, child_event 11816 kernel/events/core.c if (IS_ERR(child_event)) child_event 11817 kernel/events/core.c return child_event; child_event 11820 kernel/events/core.c if ((child_event->attach_state & PERF_ATTACH_TASK_DATA) && child_event 11822 kernel/events/core.c struct pmu *pmu = child_event->pmu; child_event 11827 kernel/events/core.c free_event(child_event); child_event 11843 kernel/events/core.c free_event(child_event); child_event 11855 kernel/events/core.c child_event->state = PERF_EVENT_STATE_INACTIVE; child_event 11857 kernel/events/core.c child_event->state = PERF_EVENT_STATE_OFF; child_event 11861 kernel/events/core.c struct hw_perf_event *hwc = &child_event->hw; child_event 11869 kernel/events/core.c child_event->ctx = child_ctx; child_event 11870 kernel/events/core.c child_event->overflow_handler = parent_event->overflow_handler; child_event 11871 kernel/events/core.c child_event->overflow_handler_context child_event 11877 kernel/events/core.c perf_event__header_size(child_event); child_event 11878 kernel/events/core.c perf_event__id_header_size(child_event); child_event 11884 kernel/events/core.c add_event_to_ctx(child_event, child_ctx); child_event 11890 kernel/events/core.c list_add_tail(&child_event->child_list, &parent_event->child_list); child_event 11893 kernel/events/core.c return child_event;