aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmiotrace.h
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2008-05-12 15:20:57 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-24 05:21:48 -0400
commit63ffa3e456c1a9884a3ebac997d91e3fdae18d78 (patch)
tree7dd0c780c395e06e2bb5f47e5c35b9a00faf047e /include/linux/mmiotrace.h
parentfe1ffafa80f6673101c6560c2bacfe3df10372ee (diff)
x86 mmiotrace: comment about user space ABI
Signed-off-by: Pekka Paalanen <pq@iki.fi> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/mmiotrace.h')
-rw-r--r--include/linux/mmiotrace.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/mmiotrace.h b/include/linux/mmiotrace.h
index cb247825f3ec..6ec288f1fe24 100644
--- a/include/linux/mmiotrace.h
+++ b/include/linux/mmiotrace.h
@@ -3,6 +3,10 @@
3 3
4#include <asm/types.h> 4#include <asm/types.h>
5 5
6/*
7 * If you change anything here, you must bump MMIO_VERSION.
8 * This is the relay data format for user space.
9 */
6#define MMIO_VERSION 0x04 10#define MMIO_VERSION 0x04
7 11
8/* mm_io_header.type */ 12/* mm_io_header.type */
@@ -23,7 +27,7 @@ enum mm_io_opcode { /* payload type: */
23}; 27};
24 28
25struct mm_io_header { 29struct mm_io_header {
26 __u32 type; 30 __u32 type; /* see MMIO_* macros above */
27 __u32 sec; /* timestamp */ 31 __u32 sec; /* timestamp */
28 __u32 nsec; 32 __u32 nsec;
29 __u32 pid; /* PID of the process, or 0 for kernel core */ 33 __u32 pid; /* PID of the process, or 0 for kernel core */