aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/uapi/linux/kcmp.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-11-29 01:11:24 -0500
committerIngo Molnar <mingo@kernel.org>2017-11-29 01:11:24 -0500
commit4fc31ba13d052c2933bf91095c063cf9a39effd0 (patch)
treebeabb73c2fe245e6541126732895da62e55bc8ee /tools/include/uapi/linux/kcmp.h
parent0e18dd12064e07519f7cbff4149ca7fff620cbed (diff)
parentb29c6ef7bb1257853c1e31616d84f55e561cf631 (diff)
Merge branch 'linus' into perf/urgent, to pick up dependent commits
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/include/uapi/linux/kcmp.h')
-rw-r--r--tools/include/uapi/linux/kcmp.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/kcmp.h b/tools/include/uapi/linux/kcmp.h
new file mode 100644
index 000000000000..481e103da78e
--- /dev/null
+++ b/tools/include/uapi/linux/kcmp.h
@@ -0,0 +1,27 @@
1#ifndef _UAPI_LINUX_KCMP_H
2#define _UAPI_LINUX_KCMP_H
3
4#include <linux/types.h>
5
6/* Comparison type */
7enum kcmp_type {
8 KCMP_FILE,
9 KCMP_VM,
10 KCMP_FILES,
11 KCMP_FS,
12 KCMP_SIGHAND,
13 KCMP_IO,
14 KCMP_SYSVSEM,
15 KCMP_EPOLL_TFD,
16
17 KCMP_TYPES,
18};
19
20/* Slot for KCMP_EPOLL_TFD */
21struct kcmp_epoll_slot {
22 __u32 efd; /* epoll file descriptor */
23 __u32 tfd; /* target file number */
24 __u32 toff; /* target offset within same numbered sequence */
25};
26
27#endif /* _UAPI_LINUX_KCMP_H */