]> git.karo-electronics.de Git - mv-sheeva.git/commit
kmemtrace: restore original tracing data binary format, improve ABI
authorEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Mon, 23 Mar 2009 13:12:26 +0000 (15:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 3 Apr 2009 10:23:08 +0000 (12:23 +0200)
commit42af9054c0eeed09ec58d13ec8bf52d225ebcfcc
tree6ae45d50bc1fb2b663b57cb0499374b018d7e204
parentda2635a9854423b4aa3a5f0e4e6efcc39ac99004
kmemtrace: restore original tracing data binary format, improve ABI

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: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
LKML-Reference: <161be9ca8a27b432c4a6ab79f47788c4521652ae.1237813499.git.eduard.munteanu@linux360.ro>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/kmemtrace.c