Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7526f0c authored by Eric B Munson's avatar Eric B Munson Committed by Ingo Molnar
Browse files

events: Add note to update_event_times comment about holding ctx->lock

parent 28009ce4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -748,6 +748,7 @@ static u64 perf_event_time(struct perf_event *event)

/*
 * Update the total_time_enabled and total_time_running fields for a event.
 * The caller of this function needs to hold the ctx->lock.
 */
static void update_event_times(struct perf_event *event)
{