Arnaldo Carvalho de Melo
fbd7458db7
perf beauty: Wire up the mmap flags table generator to the Makefile
Now when we run 'make -C tools/perf O=/tmp/build/perf' we end up with:
$ cat /tmp/build/perf/trace/beauty/generated/mmap_flags_array.c
static const char *mmap_flags[] = {
[ilog2(0x40) + 1] = "32BIT",
[ilog2(0x01) + 1] = "SHARED",
[ilog2(0x02) + 1] = "PRIVATE",
[ilog2(0x10) + 1] = "FIXED",
[ilog2(0x20) + 1] = "ANONYMOUS",
[ilog2(0x100000) + 1] = "FIXED_NOREPLACE",
[ilog2(0x0100) + 1] = "GROWSDOWN",
[ilog2(0x0800) + 1] = "DENYWRITE",
[ilog2(0x1000) + 1] = "EXECUTABLE",
[ilog2(0x2000) + 1] = "LOCKED",
[ilog2(0x4000) + 1] = "NORESERVE",
[ilog2(0x8000) + 1] = "POPULATE",
[ilog2(0x10000) + 1] = "NONBLOCK",
[ilog2(0x20000) + 1] = "STACK",
[ilog2(0x40000) + 1] = "HUGETLB",
[ilog2(0x80000) + 1] = "SYNC",
};
$
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>
Link: https://lkml.kernel.org/n/tip-t3fn7u3tjsupio6e6vkufx9m@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-10-31 09:57:52 -03:00
..
2018-10-26 16:26:32 -07:00
2018-10-31 09:57:51 -03:00
2018-10-21 20:45:14 +02:00
2018-08-15 15:04:25 -07:00
2018-02-21 15:35:42 -08:00
2018-09-28 12:46:26 +08:00
2018-03-18 17:48:59 +01:00
2018-09-30 08:49:55 -07:00
2018-07-23 19:18:10 +01:00
2018-10-31 09:57:52 -03:00
2018-10-01 15:40:59 +02:00
2018-02-21 15:35:42 -08:00
2018-02-21 15:35:42 -08:00
2018-10-29 07:20:52 +01:00
2018-10-02 10:28:04 +02:00
2018-09-27 17:56:48 +02:00
2018-10-03 11:19:52 +01:00
2018-10-31 09:57:52 -03:00
2018-10-23 16:16:40 +01:00
2018-04-11 00:03:02 +09:00
2018-09-04 17:00:37 +01:00
2018-10-26 19:33:41 -07:00
2018-03-27 09:51:23 +02:00
2018-10-18 19:44:39 +02:00
2018-07-27 16:54:40 +03:00
2018-09-04 16:45:02 -07:00
2018-02-21 15:35:42 -08:00
2018-10-03 11:19:52 +01:00