From: Pekka Paalanen Date: Mon, 12 May 2008 19:20:57 +0000 (+0200) Subject: x86 mmiotrace: comment about user space ABI X-Git-Tag: v2.6.27-rc1~1102^2^2~2^2~27 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=63ffa3e456c1a9884a3ebac997d91e3fdae18d78;p=linux-2.6-omap-h63xx.git x86 mmiotrace: comment about user space ABI Signed-off-by: Pekka Paalanen Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/linux/mmiotrace.h b/include/linux/mmiotrace.h index cb247825f3e..6ec288f1fe2 100644 --- a/include/linux/mmiotrace.h +++ b/include/linux/mmiotrace.h @@ -3,6 +3,10 @@ #include +/* + * If you change anything here, you must bump MMIO_VERSION. + * This is the relay data format for user space. + */ #define MMIO_VERSION 0x04 /* mm_io_header.type */ @@ -23,7 +27,7 @@ enum mm_io_opcode { /* payload type: */ }; struct mm_io_header { - __u32 type; + __u32 type; /* see MMIO_* macros above */ __u32 sec; /* timestamp */ __u32 nsec; __u32 pid; /* PID of the process, or 0 for kernel core */