perf beauty: Wire up the renameat flags table generator to the Makefile
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 Dec 2018 13:26:13 +0000 (10:26 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Dec 2018 15:23:56 +0000 (12:23 -0300)
commit5a1cb7edfbf6ee8087b75d32461775501213a8e9
tree0d657e8f7195b03edc0cba639c7fd428db670cf3
parentbdc2a9d64a4c4c77c63ce2561bd644d233fcb1fc
perf beauty: Wire up the renameat 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/rename_flags_array.c
  static const char *rename_flags[] = {
[0 + 1] = "NOREPLACE",
[1 + 1] = "EXCHANGE",
[2 + 1] = "WHITEOUT",
  };
  $

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-4fad4xahrn04y06o0lc49clm@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf