aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <[email protected]>2015-01-14 17:24:37 +0000
committerSteven Rostedt <[email protected]>2015-01-15 14:41:11 +0000
commit83829b74f54186a154ae6b586c05cdb838c2ebc6 (patch)
tree4275f390c63316a220fd385aebd81616ba531b1b /lib/test-string_helpers.c
parentftrace/jprobes/x86: Fix conflict between jprobes and function graph tracing (diff)
downloadkernel-83829b74f54186a154ae6b586c05cdb838c2ebc6.tar.gz
kernel-83829b74f54186a154ae6b586c05cdb838c2ebc6.zip
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]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions