On Wed, 2010-11-17 at 14:33 +0200, Pekka Enberg wrote:
I don't much like it, Jato already does its own tracing for the anon_vma
symbols, it might as well write its own event log too (would need a
proper VDSO clock thingy though).
Both these, the anon_vma symbols and the events, should be implemented
in a libperf.so or the like so as not to rely on the crummy /tmp file
interface we've been using so far.
Apps can link against libperf_dummy.so to get weak stubs and LD_PRELOAD
libperf.so to get the real ones (perf record can do that LD_PRELOAD
perf report will need to be taught to not only pick up the anon_vma
symbols but also look for the events to be merge sorted.
We already have this communication channel for Jato (due to the anon_vma
muck), might as well extend it.