Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966283Ab0BZViX (ORCPT ); Fri, 26 Feb 2010 16:38:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14862 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966274Ab0BZViP (ORCPT ); Fri, 26 Feb 2010 16:38:15 -0500 Date: Fri, 26 Feb 2010 16:37:46 -0500 From: Jason Baron To: fweisbec@gmail.com, mingo@elte.hu, rostedt@goodmis.org Cc: linux-kernel@vger.kernel.org, laijs@cn.fujitsu.com, lizf@cn.fujitsu.com, hpa@zytor.com, tglx@linutronix.de, mhiramat@redhat.com, heiko.carstens@de.ibm.com, benh@kernel.crashing.org, davem@davemloft.net, lethal@linux-sh.org, schwidefsky@de.ibm.com, brueckner@linux.vnet.ibm.com, tony.luck@intel.com Message-Id: <6c4c31456251dfc95cbe81573f7bd46db4bfd7e1.1267214187.git.jbaron@redhat.com> In-Reply-To: References: Subject: [PATCH 12/12] cleanup: remove arg from TRACE_SYS_ENTER_PROFILE_INIT() macro Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2207 Lines: 62 Since TRACE_SYS_ENTER_PROFILE_INIT() and TRACE_SYS_EXIT_PROFILE_INIT() don't do anything with their arguments, remove them. Also, TRACE_SYS_ENTER_PROFILE() and TRACE_SYS_EXIT_PROFILE() don't appear to be used. remove them. Signed-off-by: Jason Baron --- include/linux/syscalls.h | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 241a19c..611a411 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -101,18 +101,16 @@ struct perf_event_attr; #ifdef CONFIG_PERF_EVENTS -#define TRACE_SYS_ENTER_PROFILE_INIT(sname) \ +#define TRACE_SYS_ENTER_PROFILE_INIT \ .profile_enable = prof_sysenter_enable, \ .profile_disable = prof_sysenter_disable, -#define TRACE_SYS_EXIT_PROFILE_INIT(sname) \ +#define TRACE_SYS_EXIT_PROFILE_INIT \ .profile_enable = prof_sysexit_enable, \ .profile_disable = prof_sysexit_disable, #else -#define TRACE_SYS_ENTER_PROFILE(sname) -#define TRACE_SYS_ENTER_PROFILE_INIT(sname) -#define TRACE_SYS_EXIT_PROFILE(sname) -#define TRACE_SYS_EXIT_PROFILE_INIT(sname) +#define TRACE_SYS_ENTER_PROFILE_INIT +#define TRACE_SYS_EXIT_PROFILE_INIT #endif /* CONFIG_PERF_EVENTS */ #ifdef CONFIG_FTRACE_SYSCALLS @@ -149,7 +147,7 @@ struct perf_event_attr; .regfunc = reg_event_syscall_enter, \ .unregfunc = unreg_event_syscall_enter, \ .data = (void *)&__syscall_meta_##sname,\ - TRACE_SYS_ENTER_PROFILE_INIT(sname) \ + TRACE_SYS_ENTER_PROFILE_INIT \ } #define SYSCALL_TRACE_EXIT_EVENT(sname) \ @@ -171,7 +169,7 @@ struct perf_event_attr; .regfunc = reg_event_syscall_exit, \ .unregfunc = unreg_event_syscall_exit, \ .data = (void *)&__syscall_meta_##sname,\ - TRACE_SYS_EXIT_PROFILE_INIT(sname) \ + TRACE_SYS_EXIT_PROFILE_INIT \ } #define SYSCALL_METADATA(sname, nb) \ -- 1.6.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/