From bc14a63c9231eb2ea3bd977e097b5a633f3773ce Mon Sep 17 00:00:00 2001 From: Li Zefan Date: Thu, 21 Feb 2013 10:33:33 +0800 Subject: [PATCH] --- yaml --- r: 364919 b: refs/heads/master c: 7e4f44b153e1ec07bb64c1c1671cdf492465bbf3 h: refs/heads/master i: 364917: af947938743f232e8e8863ee65618ce40350a880 364915: b376794c6ce2a94dbc43b51e9311f0f2159d34c9 364911: 8c5d2575f961ae44317dfeeb4e82eab76813a189 v: v3 --- [refs] | 2 +- trunk/include/trace/ftrace.h | 2 +- trunk/kernel/trace/trace_export.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 51dcf05f518d..edfaed3c5519 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f71130de5c7fba92faf3901784714e37a234c08f +refs/heads/master: 7e4f44b153e1ec07bb64c1c1671cdf492465bbf3 diff --git a/trunk/include/trace/ftrace.h b/trunk/include/trace/ftrace.h index 17a77fcac2a2..a536f66f84c6 100644 --- a/trunk/include/trace/ftrace.h +++ b/trunk/include/trace/ftrace.h @@ -324,7 +324,7 @@ static struct trace_event_functions ftrace_event_type_funcs_##call = { \ #undef DECLARE_EVENT_CLASS #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ -static int notrace \ +static int notrace __init \ ftrace_define_fields_##call(struct ftrace_event_call *event_call) \ { \ struct ftrace_raw_##call field; \ diff --git a/trunk/kernel/trace/trace_export.c b/trunk/kernel/trace/trace_export.c index e039906b037d..4f6a91c1370c 100644 --- a/trunk/kernel/trace/trace_export.c +++ b/trunk/kernel/trace/trace_export.c @@ -129,7 +129,7 @@ static void __always_unused ____ftrace_check_##name(void) \ #undef FTRACE_ENTRY #define FTRACE_ENTRY(name, struct_name, id, tstruct, print, filter) \ -int \ +static int __init \ ftrace_define_fields_##name(struct ftrace_event_call *event_call) \ { \ struct struct_name field; \