Messages in this thread | | | Subject | Re: [PATCH 02/19] perf: Add ability to attach user level registers dump to sample | From | Peter Zijlstra <> | Date | Thu, 14 Jun 2012 12:56:07 +0200 |
| |
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.
| |