Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tracing: Remove extra call to init_ftrace_syscalls()
trace_init() calls init_ftrace_syscalls() and then calls trace_event_init() which also calls init_ftrace_syscalls(). It makes more sense to only call it from trace_event_init(). Calling it twice wastes memory, as it allocates the syscall events twice, and loses the first copy of it. Link: http://lkml.kernel.org/r/[email protected] Link: http://lkml.kernel.org/r/[email protected] Reported-by: Wang Nan <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
- Loading branch information