Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/events/
Dcore.c13084 struct perf_event_context *child_ctx, *clone_ctx = NULL; in perf_event_exit_task_context() local
13089 child_ctx = perf_pin_task_context(child); in perf_event_exit_task_context()
13090 if (!child_ctx) in perf_event_exit_task_context()
13103 mutex_lock(&child_ctx->mutex); in perf_event_exit_task_context()
13110 raw_spin_lock_irq(&child_ctx->lock); in perf_event_exit_task_context()
13111 task_ctx_sched_out(child_ctx, EVENT_ALL); in perf_event_exit_task_context()
13118 put_ctx(child_ctx); /* cannot be last */ in perf_event_exit_task_context()
13119 WRITE_ONCE(child_ctx->task, TASK_TOMBSTONE); in perf_event_exit_task_context()
13122 clone_ctx = unclone_ctx(child_ctx); in perf_event_exit_task_context()
13123 raw_spin_unlock_irq(&child_ctx->lock); in perf_event_exit_task_context()
[all …]