Files
twx-linux/kernel
Jing-Ting Wu 5c51579fde 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.

Bug: 192873984
Signed-off-by: Jing-Ting Wu <Jing-Ting.Wu@mediatek.com>
Cc: Valentin Schneider <valentin.schneider@arm.com>
Change-Id: Ifef14819264385b5e955a5966b4e4f66d50da5e3
2021-07-06 21:24:20 +00:00
..
2021-06-12 14:48:14 +02:00
2021-05-13 14:22:11 +02:00
2021-04-14 08:41:58 +02:00
2021-05-27 08:36:46 +02:00
2021-05-15 09:28:55 +02:00
2021-06-12 14:48:14 +02:00
2021-05-13 14:22:11 +02:00
2021-01-13 10:28:55 +01:00
2021-06-03 18:47:38 +02:00
2021-02-07 15:37:17 +01:00
2021-05-20 15:35:25 +02:00
2021-04-15 14:23:41 +02:00