Re: [RFC] gcc feature request: Moving blocks into sections

From: Steven Rostedt
Date: Mon Aug 05 2013 - 15:16:45 EST


On Mon, 2013-08-05 at 12:04 -0700, Andi Kleen wrote:
> Steven Rostedt <rostedt@xxxxxxxxxxx> writes:
>
> Can't you just use -freorder-blocks-and-partition?

Yeah, I'm familiar with this option.

>
> This should already partition unlikely blocks into a
> different section. Just a single one of course.
>
> FWIW the disadvantage is that multiple code sections tends
> to break various older dwarf unwinders, as it needs
> dwarf3 latest'n'greatest.

If the option was so good, I would expect everyone would be using it ;-)


I'm mainly only concerned with the tracepoints. I'm asking to be able to
do this with just the tracepoint code, and affect nobody else.

-- Steve


--
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/