parent_event 10423 kernel/events/core.c struct perf_event *parent_event, parent_event 10475 kernel/events/core.c event->parent = parent_event; parent_event 10493 kernel/events/core.c if (parent_event) parent_event 10494 kernel/events/core.c event->clock = parent_event->clock; parent_event 10496 kernel/events/core.c if (!overflow_handler && parent_event) { parent_event 10497 kernel/events/core.c overflow_handler = parent_event->overflow_handler; parent_event 10498 kernel/events/core.c context = parent_event->overflow_handler_context; parent_event 10501 kernel/events/core.c struct bpf_prog *prog = bpf_prog_inc(parent_event->prog); parent_event 10509 kernel/events/core.c parent_event->orig_overflow_handler; parent_event 11495 kernel/events/core.c struct perf_event *parent_event = child_event->parent; parent_event 11506 kernel/events/core.c atomic64_add(child_val, &parent_event->child_count); parent_event 11508 kernel/events/core.c &parent_event->child_total_time_enabled); parent_event 11510 kernel/events/core.c &parent_event->child_total_time_running); parent_event 11518 kernel/events/core.c struct perf_event *parent_event = child_event->parent; parent_event 11535 kernel/events/core.c if (parent_event) parent_event 11544 kernel/events/core.c if (!parent_event) { parent_event 11557 kernel/events/core.c WARN_ON_ONCE(parent_event->ctx->parent_ctx); parent_event 11558 kernel/events/core.c mutex_lock(&parent_event->child_mutex); parent_event 11560 kernel/events/core.c mutex_unlock(&parent_event->child_mutex); parent_event 11565 kernel/events/core.c perf_event_wakeup(parent_event); parent_event 11567 kernel/events/core.c put_event(parent_event); parent_event 11791 kernel/events/core.c inherit_event(struct perf_event *parent_event, parent_event 11798 kernel/events/core.c enum perf_event_state parent_state = parent_event->state; parent_event 11808 kernel/events/core.c if (parent_event->parent) parent_event 11809 kernel/events/core.c parent_event = parent_event->parent; parent_event 11811 kernel/events/core.c child_event = perf_event_alloc(&parent_event->attr, parent_event 11812 kernel/events/core.c parent_event->cpu, parent_event 11814 kernel/events/core.c group_leader, parent_event, parent_event 11838 kernel/events/core.c mutex_lock(&parent_event->child_mutex); parent_event 11839 kernel/events/core.c if (is_orphaned_event(parent_event) || parent_event 11840 kernel/events/core.c !atomic_long_inc_not_zero(&parent_event->refcount)) { parent_event 11841 kernel/events/core.c mutex_unlock(&parent_event->child_mutex); parent_event 11859 kernel/events/core.c if (parent_event->attr.freq) { parent_event 11860 kernel/events/core.c u64 sample_period = parent_event->hw.sample_period; parent_event 11870 kernel/events/core.c child_event->overflow_handler = parent_event->overflow_handler; parent_event 11872 kernel/events/core.c = parent_event->overflow_handler_context; parent_event 11890 kernel/events/core.c list_add_tail(&child_event->child_list, &parent_event->child_list); parent_event 11891 kernel/events/core.c mutex_unlock(&parent_event->child_mutex); parent_event 11906 kernel/events/core.c static int inherit_group(struct perf_event *parent_event, parent_event 11916 kernel/events/core.c leader = inherit_event(parent_event, parent, parent_ctx, parent_event 11925 kernel/events/core.c for_each_sibling_event(sub, parent_event) { parent_event 11931 kernel/events/core.c if (sub->aux_event == parent_event && child_ctr &&