[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081121152030.7024971e.akpm@linux-foundation.org>
Date: Fri, 21 Nov 2008 15:20:30 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, mingo@...e.hu, tglx@...utronix.de,
peterz@...radead.org, tytso@....edu, arjan@...radead.org,
srostedt@...hat.com
Subject: Re: [PATCH 4/4] trace: profile all if conditionals
On Fri, 21 Nov 2008 02:12:17 -0500
Steven Rostedt <rostedt@...dmis.org> 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@...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