tools include uapi: Grab a copy of linux/mount.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Jan 2019 16:42:37 +0000 (13:42 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Jan 2019 17:09:28 +0000 (14:09 -0300)
commit250bfc87ddc427fa001bbc8bc1468ce5fc06645b
tree78523b4f105625be3c4da9bfde6edcb05e9700d9
parentf2e14cd2c93699aa0aeaa8240457ab359f1258ff
tools include uapi: Grab a copy of linux/mount.h

We were using a copy of uapi/linux/fs.h to create the mount syscall
'flags' string table to use in 'perf trace', to convert from the number
obtained via the raw_syscalls:sys_enter into a string, using
tools/perf/trace/beauty/mount_flags.sh, but in e262e32d6bde ("vfs:
Suppress MS_* flag defs within the kernel unless explicitly enabled")
those defines got moved to linux/mount.h, so grab a copy of mount.h too.

Keep the uapi/linux/fs.h as we'll use it for the SEEK_ constants.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-i2ricmpwpdrpukfq3298jr1z@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/linux/mount.h [new file with mode: 0644]
tools/perf/check-headers.sh