Subversion Repositories Kolibri OS

Rev

Rev 6082 | Rev 6936 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6082 Rev 6295
Line 142... Line 142...
142
 * "Define 'is'", Bill Clinton
142
 * "Define 'is'", Bill Clinton
143
 * "Define 'if'", Steven Rostedt
143
 * "Define 'if'", Steven Rostedt
144
 */
144
 */
145
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
145
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
146
#define __trace_if(cond) \
146
#define __trace_if(cond) \
147
	if (__builtin_constant_p((cond)) ? !!(cond) :			\
147
	if (__builtin_constant_p(!!(cond)) ? !!(cond) :			\
148
	({								\
148
	({								\
149
		int ______r;						\
149
		int ______r;						\
150
		static struct ftrace_branch_data			\
150
		static struct ftrace_branch_data			\
151
			__attribute__((__aligned__(4)))			\
151
			__attribute__((__aligned__(4)))			\
152
			__attribute__((section("_ftrace_branch")))	\
152
			__attribute__((section("_ftrace_branch")))	\