OSDN Git Service

tools headers UAPI: Sync linux/mman.h with the kernel
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Apr 2020 12:04:53 +0000 (09:04 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Apr 2020 12:04:53 +0000 (09:04 -0300)
commitf60b3878f47311a61fe2d4c5ef77c52e31554c52
tree56cade8fbded506c00b7d254148da7450cf01ab4
parent027fa8fb63635fb984a86ec3106bc8417e074019
tools headers UAPI: Sync linux/mman.h with the kernel

To get the changes in:

  e346b3813067 ("mm/mremap: add MREMAP_DONTUNMAP to mremap()")

Add that to 'perf trace's mremap 'flags' decoder.

This silences this perf build warning:

  Warning: Kernel ABI header at 'tools/include/uapi/linux/mman.h' differs from latest version at 'include/uapi/linux/mman.h'
  diff -u tools/include/uapi/linux/mman.h include/uapi/linux/mman.h

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Brian Geffon <bgeffon@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/linux/mman.h
tools/perf/trace/beauty/mmap.c