]> git.baikalelectronics.ru Git - kernel.git/commit
trace_syscalls: Simplify syscall profile
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 1 Dec 2009 08:24:01 +0000 (16:24 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 1 Dec 2009 16:33:30 +0000 (17:33 +0100)
commit3bbe84e9d385205d638035ee9dcc4db1b486ea08
treee7261e9a3ca13f6e2fd34333e4ccab33b265c32e
parenta1301da0997bf73c44dbe584e9070a13adc89672
trace_syscalls: Simplify syscall profile

use only one prof_sysenter_enable() instead of
prof_sysenter_enable_##sname()

use only one prof_sysenter_disable() instead of
prof_sysenter_disable_##sname()

use only one prof_sysexit_enable() instead of
prof_sysexit_enable_##sname()

use only one prof_sysexit_disable() instead of
prof_sysexit_disable_##sname()

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: <4B14D2A1.8060304@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/syscalls.h
include/trace/syscall.h
kernel/trace/trace_syscalls.c