diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2018-12-18 11:49:58 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-12-18 16:17:41 -0300 |
commit | 069c1c6cc3646454f9c8e83084a25f8eb8cab7ae (patch) | |
tree | 89b84d84691946c78c59eb3b9fdcb59365f5604f /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | f9cdd63e79946d2f635d5c23d76811c2d710aa5c (diff) |
perf beauty: Add generator for fadvise64's 'advice' arg constants
$ tools/perf/trace/beauty/fadvise.sh
static const char *fadvise_advices[] = {
[0] = "NORMAL",
[1] = "RANDOM",
[2] = "SEQUENTIAL",
[3] = "WILLNEED",
[4] = "DONTNEED",
[5] = "NOREUSE",
};
$
This has a hack wrt the s390 difference.
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Luis Cláudio Gonçalves <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions