Unverified Commit 125b5a6a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!15704 perf/core: Add RCU read lock protection to perf_iterate_ctx()

parents a5961b64 b4b4ce07
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -8124,6 +8124,7 @@ void perf_event_exec(void)

	perf_event_enable_on_exec(ctx);
	perf_event_remove_on_exec(ctx);
	scoped_guard(rcu)
		perf_iterate_ctx(ctx, perf_event_addr_filters_exec, NULL, true);

	perf_unpin_context(ctx);