Fix too large copy of sys enter event
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 May 2011 01:21:05 +0000 (21:21 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 May 2011 01:21:05 +0000 (21:21 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/syscalls.h

index e2f3bbd57dc4286b492a0e4c623521b8a65a2090..182be76340648e58610748915442f2d687392925 100644 (file)
@@ -34,7 +34,7 @@ TRACE_EVENT(sys_enter,
                        unsigned long args_copy[6];
 
                        syscall_get_arguments(current, regs, 0, 6, args_copy);
-                       tp_memcpy(args, args_copy, 6 * sizeof(args_copy));
+                       tp_memcpy(args, args_copy, sizeof(args_copy));
                }
        ),
 
This page took 0.026201 seconds and 4 git commands to generate.