[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AAE05CF.5060208@cn.fujitsu.com>
Date: Mon, 14 Sep 2009 16:58:55 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Steven Rostedt <rostedt@...dmis.org>
CC: Ingo Molnar <mingo@...e.hu>,
Frederic Weisbecker <fweisbec@...il.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] ftrace: Add compile-time check on F_printk()
> +static void __used ____ftrace_check_##name(void) \
oops, I should use "__maybe_unused"..
> +{ \
> + struct ____ftrace_##name *__entry = NULL; \
> + \
> + /* force cmpile-time check on F_printk() */ \
> + printk(print); \
> +}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists