tracing/syscalls: Fix typo in SYSCALL_DEFINE0
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 15 Dec 2009 07:39:26 +0000 (15:39 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 30 Dec 2009 15:27:04 +0000 (10:27 -0500)
commite96dc9674cb597de4fee757ed005c8465072d13f
tree028f96f0cd026ac242d0ae2c5993cc87d83e5447
parent79b408210885b9f7f0b067b07a09d68f4da3a700
tracing/syscalls: Fix typo in SYSCALL_DEFINE0

The struct syscall_metadata variable name in SYSCALL_DEFINE0
should be __syscall_meta__##sname instead of __syscall_meta_##sname
to match the name that is in SYSCALL_DEFINE1/2/3/4/5/6.

This error causes event_enter_##sname->data to point to the wrong
location, which causes syscalls which are defined by SYSCALL_DEFINE0()
not to be traced.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
LKML-Reference: <4B273D2E.1010807@cn.fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/syscalls.h