Home
last modified time | relevance | path

Searched refs:child_ctx (Results 1 – 1 of 1) sorted by relevance

/kernel/events/
Dcore.c12947 struct perf_event_context *child_ctx, *clone_ctx = NULL; in perf_event_exit_task_context() local
12952 child_ctx = perf_pin_task_context(child, ctxn); in perf_event_exit_task_context()
12953 if (!child_ctx) in perf_event_exit_task_context()
12966 mutex_lock(&child_ctx->mutex); in perf_event_exit_task_context()
12973 raw_spin_lock_irq(&child_ctx->lock); in perf_event_exit_task_context()
12974 task_ctx_sched_out(__get_cpu_context(child_ctx), child_ctx, EVENT_ALL); in perf_event_exit_task_context()
12981 put_ctx(child_ctx); /* cannot be last */ in perf_event_exit_task_context()
12982 WRITE_ONCE(child_ctx->task, TASK_TOMBSTONE); in perf_event_exit_task_context()
12985 clone_ctx = unclone_ctx(child_ctx); in perf_event_exit_task_context()
12986 raw_spin_unlock_irq(&child_ctx->lock); in perf_event_exit_task_context()
[all …]