All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tracing - enabling "__cold" functions
@ 2009-10-09 16:14 jolsa
  2009-10-12 11:19 ` Jiri Olsa
  0 siblings, 1 reply; 5+ messages in thread
From: jolsa @ 2009-10-09 16:14 UTC (permalink / raw)
  To: mingo, rostedt; +Cc: linux-kernel

Based on the commit:

a586df06 "x86: Support __attribute__((__cold__)) in gcc 4.3"

some of the functions goes to the ".text.unlikely" section.

Looks like there's not many of them (I found printk, panic,
__ssb_dma_not_implemented, fat_fs_error), but still worth
to include I think.

wbr,
jirka


Signed-off-by: Jiri Olsa <jolsa@redhat.com>
---
 scripts/recordmcount.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index 090d300..bfb8b2c 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -119,6 +119,7 @@ my %text_sections = (
      ".sched.text" => 1,
      ".spinlock.text" => 1,
      ".irqentry.text" => 1,
+     ".text.unlikely" => 1,
 );
 
 $objdump = "objdump" if ((length $objdump) == 0);

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] tracing - enabling "__cold" functions
  2009-10-09 16:14 [PATCH] tracing - enabling "__cold" functions jolsa
@ 2009-10-12 11:19 ` Jiri Olsa
  2009-10-12 11:27   ` Ingo Molnar
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Olsa @ 2009-10-12 11:19 UTC (permalink / raw)
  To: mingo, rostedt; +Cc: linux-kernel

any feedback on this one?

thanks,
jirka

On Fri, Oct 09, 2009 at 06:14:59PM +0200, jolsa@redhat.com wrote:
> Based on the commit:
> 
> a586df06 "x86: Support __attribute__((__cold__)) in gcc 4.3"
> 
> some of the functions goes to the ".text.unlikely" section.
> 
> Looks like there's not many of them (I found printk, panic,
> __ssb_dma_not_implemented, fat_fs_error), but still worth
> to include I think.
> 
> wbr,
> jirka
> 
> 
> Signed-off-by: Jiri Olsa <jolsa@redhat.com>
> ---
>  scripts/recordmcount.pl |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
> index 090d300..bfb8b2c 100755
> --- a/scripts/recordmcount.pl
> +++ b/scripts/recordmcount.pl
> @@ -119,6 +119,7 @@ my %text_sections = (
>       ".sched.text" => 1,
>       ".spinlock.text" => 1,
>       ".irqentry.text" => 1,
> +     ".text.unlikely" => 1,
>  );
>  
>  $objdump = "objdump" if ((length $objdump) == 0);
> --
> 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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] tracing - enabling "__cold" functions
  2009-10-12 11:19 ` Jiri Olsa
@ 2009-10-12 11:27   ` Ingo Molnar
  2009-10-12 11:39     ` Jiri Olsa
  0 siblings, 1 reply; 5+ messages in thread
From: Ingo Molnar @ 2009-10-12 11:27 UTC (permalink / raw)
  To: Jiri Olsa; +Cc: rostedt, linux-kernel


* Jiri Olsa <jolsa@redhat.com> wrote:

> any feedback on this one?

Steve said he's queueing it up. (But 3 days of delay, especially if it's 
over the weekend and if it's not an urgent fix is to be expected so 
please be patient.)

	Ingo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] tracing - enabling "__cold" functions
  2009-10-12 11:27   ` Ingo Molnar
@ 2009-10-12 11:39     ` Jiri Olsa
  2009-10-12 13:48       ` Steven Rostedt
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Olsa @ 2009-10-12 11:39 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: rostedt, linux-kernel

On Mon, Oct 12, 2009 at 01:27:45PM +0200, Ingo Molnar wrote:
> 
> * Jiri Olsa <jolsa@redhat.com> wrote:
> 
> > any feedback on this one?
> 
> Steve said he's queueing it up. (But 3 days of delay, especially if it's 
> over the weekend and if it's not an urgent fix is to be expected so 
> please be patient.)
> 
> 	Ingo

no rush :) it's just I usually get reply like "looking on this" or smth..
so I thought it might get lost, sry for noise

jirka

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] tracing - enabling "__cold" functions
  2009-10-12 11:39     ` Jiri Olsa
@ 2009-10-12 13:48       ` Steven Rostedt
  0 siblings, 0 replies; 5+ messages in thread
From: Steven Rostedt @ 2009-10-12 13:48 UTC (permalink / raw)
  To: Jiri Olsa; +Cc: Ingo Molnar, linux-kernel

On Mon, 2009-10-12 at 13:39 +0200, Jiri Olsa wrote:
> On Mon, Oct 12, 2009 at 01:27:45PM +0200, Ingo Molnar wrote:
> > 
> > * Jiri Olsa <jolsa@redhat.com> wrote:
> > 
> > > any feedback on this one?
> > 
> > Steve said he's queueing it up. (But 3 days of delay, especially if it's 
> > over the weekend and if it's not an urgent fix is to be expected so 
> > please be patient.)
> > 
> > 	Ingo
> 
> no rush :) it's just I usually get reply like "looking on this" or smth..
> so I thought it might get lost, sry for noise

No prob. Yes I'm looking at this ;-)

-- Steve



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-12 13:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09 16:14 [PATCH] tracing - enabling "__cold" functions jolsa
2009-10-12 11:19 ` Jiri Olsa
2009-10-12 11:27   ` Ingo Molnar
2009-10-12 11:39     ` Jiri Olsa
2009-10-12 13:48       ` Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.