]> git.baikalelectronics.ru Git - kernel.git/commit
perf trace beauty mmap: Fix defines for non !x86_64
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 12 Sep 2016 19:27:32 +0000 (16:27 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 13 Sep 2016 18:26:29 +0000 (15:26 -0300)
commitebb9224eda264299c1eca52153c4a2fee39546c9
treee19ba0022264a98fff897a3b4a80af27dad6b5d6
parent230aab24ea9065f89fd081e55513903264a0f56e
perf trace beauty mmap: Fix defines for non !x86_64

Several defines have different values in different arches, so we can't
just define it to the x86_64 value, use uapi/linux/mmap.h that was
recently introduced to reliably find those, not using possibly outdated
libc headers.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: Zefan Li <lizefan@huawei.com>
Link: http://lkml.kernel.org/n/tip-4eajp5yp8i2fuw44n7jmcg5t@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/trace/beauty/mmap.c