Commit 63ffa3e4 authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Thomas Gleixner

x86 mmiotrace: comment about user space ABI

Signed-off-by: default avatarPekka Paalanen <pq@iki.fi>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent fe1ffafa
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
#include <asm/types.h> #include <asm/types.h>
/*
* If you change anything here, you must bump MMIO_VERSION.
* This is the relay data format for user space.
*/
#define MMIO_VERSION 0x04 #define MMIO_VERSION 0x04
/* mm_io_header.type */ /* mm_io_header.type */
...@@ -23,7 +27,7 @@ enum mm_io_opcode { /* payload type: */ ...@@ -23,7 +27,7 @@ enum mm_io_opcode { /* payload type: */
}; };
struct mm_io_header { struct mm_io_header {
__u32 type; __u32 type; /* see MMIO_* macros above */
__u32 sec; /* timestamp */ __u32 sec; /* timestamp */
__u32 nsec; __u32 nsec;
__u32 pid; /* PID of the process, or 0 for kernel core */ __u32 pid; /* PID of the process, or 0 for kernel core */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment