• E
    kmemtrace: restore original tracing data binary format, improve ABI · 42af9054
    Eduard - Gabriel Munteanu 提交于
    When kmemtrace was ported to ftrace, the marker strings were taken as
    an indication of how the traced data was being exposed to the userspace.
    However, the actual format had been binary, not text.
    
    This restores the original binary format, while also adding an origin CPU
    field (since ftrace doesn't expose the data per-CPU to userspace), and
    re-adding the timestamp field. It also drops arch-independent field
    sizing where it didn't make sense, so pointers won't always be 64 bits
    wide like they used to.
    Signed-off-by: NEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
    LKML-Reference: <161be9ca8a27b432c4a6ab79f47788c4521652ae.1237813499.git.eduard.munteanu@linux360.ro>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    42af9054
kmemtrace.c 10.9 KB