lkml.org 
[lkml]   [2012]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] tracepoints: Move the work out of line from hotpath sections
On 08/09/2012 03:25 PM, Steven Rostedt wrote:
>>
>> It might be better to improve gcc to move really cold branches out of
>> line (really, really far away), and use the compiler to do this, rather
>> than to use an extra indirection that adds bloat and complexity to the
>> kernel.
>
> I think modifying gcc is something that can help more than tracing. But
> that's been a pipe dream for such a long time that I've started dreaming
> about winning a gold medal in the Olympics instead. Standing on the
> podium listening to the crowd chanting your name along with your country
> is more fun to dream about than seeing your unlikely code stop becoming
> hurdles for the CPU sprinters.
>

At one point, maybe, but lately we have had a lot more traction from the
gcc developers, giving us features like __fentry__ and asm goto.

-hpa



\
 
 \ /
  Last update: 2012-08-10 02:01    [W:0.071 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site