Skip to content
Commit 0947e413 authored by Valentin Schneider's avatar Valentin Schneider
Browse files

ANDROID: fork: Export task_newtask tracepoint



android_rvh_sched_fork() and android_rvh_sched_fork_init() already let us
register probes during fork(), but those are invoked *before* the new task
is added to the tasklist, which can lead to some undesired races when a
module is trying to initialize vendor-specific task_struct fields.

Export the task_newtask tracepoint to register probes to run during fork()
but *after* the task has been inserted into the tasklist.

Change-Id: I94c7db85be3dfbd4d8065c0917ae9fdae6b2baa1
Signed-off-by: default avatarValentin Schneider <valentin.schneider@arm.com>
parent d7f8a548
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment