diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-12-11 10:16:42 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-12-18 12:23:55 -0300 |
commit | bdc2a9d64a4c4c77c63ce2561bd644d233fcb1fc (patch) | |
tree | 32517d104a5787e559a39b9597bf2dfb70c53f14 /tools/perf/Makefile.perf | |
parent | 84a835412cdc36f3821a1daa10853f9c9aa3fc7c (diff) |
perf beauty: Add a string table generator for renameat2's flags constants
Using the already copied tools/include/uapi/linux/fs.h file:
$ tools/perf/trace/beauty/rename_flags.sh
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-ta2jbh03spkymp4sbdh489g8@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile.perf')
0 files changed, 0 insertions, 0 deletions