Re: [PATCH 4/4] trace: profile all if conditionals
From: Andrew Morton
Date: Fri Nov 21 2008 - 18:21:43 EST
On Fri, 21 Nov 2008 02:12:17 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> --- a/include/linux/compiler.h
> +++ b/include/linux/compiler.h
>
> ...
>
> +#define if(cond) if (__builtin_constant_p((cond)) ? !!(cond) : \
wheee...
Now how are you going to profile ?:, while, for(;expr;), etc? ;)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/