Skip to content

Commit

Permalink
x86 mmiotrace: comment about user space ABI
Browse files Browse the repository at this point in the history
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Pekka Paalanen authored and Thomas Gleixner committed May 24, 2008
1 parent fe1ffaf commit 63ffa3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/linux/mmiotrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

#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

/* mm_io_header.type */
Expand All @@ -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 */
Expand Down

0 comments on commit 63ffa3e

Please sign in to comment.