perf trace beauty renameat: No need to include linux/fs.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 Mar 2019 13:16:43 +0000 (10:16 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 1 Apr 2019 17:49:24 +0000 (14:49 -0300)
commitb64f1cc6d02ce92f7752545c0bd82dc052013167
treefccab1a7a1721ec4601f75cf366bf44f2e87f23b
parent59f3bd7802d3ff7e6ddcce600f361bed288a97dd
perf trace beauty renameat: No need to include linux/fs.h

There is no use for what is in that file, as everything is
built by the tools/perf/trace/beauty/rename_flags.sh script from
the copied kernel headers, the end result being:

  $ 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",
  };
  $

I.e. no use of any defines from uapi/linux/fs.h

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-lgugmfa8z4bpw5zsbuoitllb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/trace/beauty/renameat.c