aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index ac62f43ee430..d1eb30e69ccc 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -47,6 +47,7 @@
47#include <linux/mount.h> 47#include <linux/mount.h>
48#include <linux/audit.h> 48#include <linux/audit.h>
49#include <linux/memcontrol.h> 49#include <linux/memcontrol.h>
50#include <linux/ftrace.h>
50#include <linux/profile.h> 51#include <linux/profile.h>
51#include <linux/rmap.h> 52#include <linux/rmap.h>
52#include <linux/acct.h> 53#include <linux/acct.h>
@@ -1269,6 +1270,9 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1269 total_forks++; 1270 total_forks++;
1270 spin_unlock(&current->sighand->siglock); 1271 spin_unlock(&current->sighand->siglock);
1271 write_unlock_irq(&tasklist_lock); 1272 write_unlock_irq(&tasklist_lock);
1273#ifdef CONFIG_FUNCTION_RET_TRACER
1274 ftrace_retfunc_init_task(p);
1275#endif
1272 proc_fork_connector(p); 1276 proc_fork_connector(p);
1273 cgroup_post_fork(p); 1277 cgroup_post_fork(p);
1274 return p; 1278 return p;