lkml.org 
[lkml]   [2012]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 02/19] perf: Add ability to attach user level registers dump to sample
From
Date
On Thu, 2012-06-14 at 12:50 +0200, Peter Zijlstra wrote:
> On Thu, 2012-06-14 at 12:45 +0200, Stephane Eranian wrote:
> > > It would be a tedious endeavour since you'd need to have both output
> > > paths available for a good while, but it might be worth it in the long
> > > run depending on how painful the current format becomes.
> >
> > True. What we don't know however, it how many other tools are out
> > there using the kernel API directly.
>
> Right.. but if you leave the old stuff in for say 2 years and start
> emitting a warning on using the old stuff after 1 year.. give or take a
> few years we should be able to get the old stuff deprecated and removed.

Another thing I did consider was trying to JIT a whole output path in
order to reduce the insane amount of conditionals in there. It would be
very nice if GCC grew something to help stitch code snippets together so
we could write it arch independent.


\
 
 \ /
  Last update: 2012-06-14 13:41    [W:0.067 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site