]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
perf tools: Fill in new definitions for madvise()/mmap() flags
authorIngo Molnar <mingo@kernel.org>
Thu, 12 Sep 2013 13:29:00 +0000 (15:29 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Sep 2013 14:32:17 +0000 (11:32 -0300)
commit456857bded19a4160bbe083bae926e23f483b7f7
tree5db8e5e958c4dfe33be609303cd4e6bf28c00d1c
parent33cbbdccf39f6d7e01c282c4320d818a75b67d54
perf tools: Fill in new definitions for madvise()/mmap() flags

builtin-trace.c started using various new syscall features not defined
in the header files of older distros - resulting in build failures.

Fill in the (ABI) constants if they are not defined.

(There might be a better place to put this than builtin-trace.c, into a
compat header or so.)

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-tip-commits@vger.kernel.org
Link: http://lkml.kernel.org/r/20130912132900.GE23826@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c