mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 09:01:34 +00:00
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>
This commit is contained in:
parent
fe1ffafa80
commit
63ffa3e456
@ -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 */
|
||||
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user