diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2018-11-27 15:19:15 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-12-17 17:55:14 +0000 |
| commit | a1c8cf293d57cb7c952b667805441b9fbb9c640a (patch) | |
| tree | 2154b7cf8b8fe707f9ac84bed931af5be150d754 /tools/perf/util/annotate.h | |
| parent | perf record: Extend trace writing to multi AIO (diff) | |
| download | kernel-a1c8cf293d57cb7c952b667805441b9fbb9c640a.tar.gz kernel-a1c8cf293d57cb7c952b667805441b9fbb9c640a.zip | |
perf beauty mmap_flags: Check if the arch has a mmap.h file
If not, then just use what is in asm-generic. This fixes the build for
my sh4, m68k and riscv64 perf test build containers that were failing
due to 80ee5668b8a7 ("perf beauty: Add a generator for MAP_ mmap's flag
constants"), that were not covered in the cset introducing those
tools/arch/*/include/uapi/asm/mman.h files.
f3539c12d819 ("tools include: Add uapi mman.h for each architecture")
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Fixes: 80ee5668b8a7 ("perf beauty: Add a generator for MAP_ mmap's flag constants")
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions
