diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2009-12-01 03:23:36 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-01 11:33:29 -0500 |
commit | fcc19438dda38dacc8c144e2db3ebc6b9fd4f8b8 (patch) | |
tree | 0f82cd0ce19bc113e2ba631c14f2e8c04884d608 /include/linux/syscalls.h | |
parent | 31c16b13349970b2684248c7d8608d2a96ae135d (diff) |
trace_syscalls: Remove enter_id exit_id
use ->enter_event->id instead of ->enter_id
use ->exit_event->id instead of ->exit_id
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Jason Baron <jbaron@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4B14D288.7030001@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r-- | include/linux/syscalls.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index d3c9fd01a110..b9af87560adb 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -168,7 +168,6 @@ static void prof_sysexit_disable_##sname(struct ftrace_event_call *unused) \ | |||
168 | if (!id) \ | 168 | if (!id) \ |
169 | return -ENODEV; \ | 169 | return -ENODEV; \ |
170 | event_enter_##sname.id = id; \ | 170 | event_enter_##sname.id = id; \ |
171 | set_syscall_enter_id(num, id); \ | ||
172 | INIT_LIST_HEAD(&event_enter_##sname.fields); \ | 171 | INIT_LIST_HEAD(&event_enter_##sname.fields); \ |
173 | return 0; \ | 172 | return 0; \ |
174 | } \ | 173 | } \ |
@@ -205,7 +204,6 @@ static void prof_sysexit_disable_##sname(struct ftrace_event_call *unused) \ | |||
205 | if (!id) \ | 204 | if (!id) \ |
206 | return -ENODEV; \ | 205 | return -ENODEV; \ |
207 | event_exit_##sname.id = id; \ | 206 | event_exit_##sname.id = id; \ |
208 | set_syscall_exit_id(num, id); \ | ||
209 | INIT_LIST_HEAD(&event_exit_##sname.fields); \ | 207 | INIT_LIST_HEAD(&event_exit_##sname.fields); \ |
210 | return 0; \ | 208 | return 0; \ |
211 | } \ | 209 | } \ |