Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754740Ab3HETax (ORCPT ); Mon, 5 Aug 2013 15:30:53 -0400 Received: from mail-we0-f178.google.com ([74.125.82.178]:45619 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754716Ab3HETau (ORCPT ); Mon, 5 Aug 2013 15:30:50 -0400 MIME-Version: 1.0 In-Reply-To: <1375730199.22073.135.camel@gandalf.local.home> References: <1375721715.22073.80.camel@gandalf.local.home> <87siyo3qna.fsf@tassilo.jf.intel.com> <1375730199.22073.135.camel@gandalf.local.home> Date: Mon, 5 Aug 2013 12:30:47 -0700 Message-ID: Subject: Re: [RFC] gcc feature request: Moving blocks into sections From: Xinliang David Li To: Steven Rostedt Cc: Andi Kleen , LKML , gcc , Linus Torvalds , Ingo Molnar , Mathieu Desnoyers , "H. Peter Anvin" , Thomas Gleixner , David Daney , Behan Webster , Peter Zijlstra , Rong Xu , Teresa Johnson Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1203 Lines: 41 On Mon, Aug 5, 2013 at 12:16 PM, Steven Rostedt wrote: > On Mon, 2013-08-05 at 12:04 -0700, Andi Kleen wrote: >> Steven Rostedt writes: >> >> Can't you just use -freorder-blocks-and-partition? > > Yeah, I'm familiar with this option. > This option works best with FDO. FDOed linux kernel rocks :) >> >> 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 ;-) > There were lots of problems with this option -- recently cleaned up/fixed by Teresa in GCC trunk. thanks, David > > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/