Messages in this thread | | | Date | Tue, 15 Jul 2014 18:17:33 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 39/41] perf tools: Allow TSC conversion on any arch |
| |
On Tue, Jul 15, 2014 at 12:20:03PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jul 14, 2014 at 01:03:03PM +0300, Adrian Hunter escreveu: > > It is possible to record a perf.data file on > > one architecture and process it on another. > > Consequently, TSC conversion functions need > > to be moved out of the arch directory. > > Can you state where a TSC is stored in perf.data, and how in the !x86 > arch this will be detected so that those functions will be used?
So there's nothing intrinsically x86/tsc about the perf interface here, although that's currently the only one implementing this thing.
Other archs could equally expose their 'cycle' counter etc.. [unhandled content-type:application/pgp-signature] | |