perf trace: Wire up the fadvise 'advice' table generator
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Dec 2018 14:54:31 +0000 (11:54 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Dec 2018 19:17:41 +0000 (16:17 -0300)
commit42337cb768ad9536150603b206acd6bbd320e75e
tree65e7d6a584b95f85c8828bab0a69dae0f5f271c3
parent069c1c6cc3646454f9c8e83084a25f8eb8cab7ae
perf trace: Wire up the fadvise 'advice' table generator

That ends up generating this:

  $ cat /tmp/build/perf/trace/beauty/generated/fadvise_advice_array.c
  static const char *fadvise_advices[] = {
[0] = "NORMAL",
[1] = "RANDOM",
[2] = "SEQUENTIAL",
[3] = "WILLNEED",
[4] = "DONTNEED",
[5] = "NOREUSE",
  };
$

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-zwbslubagram8a8zdc003u8h@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf