lkml.org 
[lkml]   [2012]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Perf record format portability
    Em Wed, May 16, 2012 at 12:58:23PM -0400, Steven Rostedt escreveu:
    > On Wed, 2012-05-16 at 11:59 -0300, Arnaldo Carvalho de Melo wrote:
    > > Was the kernel trace events infrastructure designed with that in
    > > mind? I.e. cross analysis? I must be missing something here, still
    > > ENOCOFFEE :-\
    >
    > Yes, the libparsevents library was design for this from day one. That's
    > why trace-cmd data file can be run on an ARM and read on x86, or PPC, or
    > whatever. I did all my development testing against 32bit, 64bit and big
    > and little endian. This was the case from the beginning.

    I need to look at the code, but how does it do this? Copy the relevant
    /sys/kernel/debug/events formats in the header and then instead of
    looking at /sys/... look at those?

    Does it still copy /proc/kallsyms?

    - Arnaldo


    \
     
     \ /
      Last update: 2012-05-16 20:41    [W:0.026 / U:0.088 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site