Messages in this thread |  | | Date | Tue, 11 Feb 2014 12:31:49 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH 00/21] perf, c2c: Add new tool to analyze cacheline contention on NUMA systems |
| |
On Tue, Feb 11, 2014 at 12:28:47PM +0100, Stephane Eranian wrote: > On Tue, Feb 11, 2014 at 12:14 PM, Peter Zijlstra <peterz@infradead.org> wrote: > > On Tue, Feb 11, 2014 at 12:08:56PM +0100, Stephane Eranian wrote: > >> Assuming you can decode and get the info about the base registers used, > >> you'd have to do this for each arch with load/store sampling capabilities. > >> this is painful compared to getting the portable info from dwarf directly. > > > > But its useful now, as compared to whenever GCC gets around to > > implementing more dwarves and that GCC getting used widely enough to > > actually rely on it. > > > > All you need for the decode is a disassembler, and every arch should > > already have multiple of those. Should be easy to reuse one, right? > > I know, and you want to pull this into the perf tool?
Sure why not, its already got the world and then some :/
It would be just another dynamic lib.
|  |