• Frederic Weisbecker's avatar
    perf tools: Unify perf.data mapping and events handling · 016e92fb
    Frederic Weisbecker authored
    This librarizes the perf.data file mapping and handling in various
    perf tools, roughly reducing the amount of code and fixing the
    places that mmap from beginning of the file whereas we want to mmap
    from the beginning of the data, leading to page fault because the
    mmap window is too small since the trace info are written in the
    file too.
    
    TODO:
    
     - convert perf timechart too
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Arjan van de Ven <arjan@infradead.org>
    LKML-Reference: <20091007104729.GD5043@nowhere>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    016e92fb
data_map.c 5.21 KB