diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-05-20 14:16:49 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-05-28 18:37:42 -0300 |
commit | eefa09b499d12883f2fad46f93379101c8da6fec (patch) | |
tree | 4bb5094b3c7f102778a0f84e81c4d803b2fa8d4e /tools/perf/scripts/python/syscall-counts.py | |
parent | 8a70c6b162e3112ce87b40b1705da5c4e7566ac8 (diff) |
perf beauty: Add generator for 'move_mount' flags argument
$ tools/perf/trace/beauty/move_mount_flags.sh
static const char *move_mount_flags[] = {
[ilog2(0x00000001) + 1] = "F_SYMLINKS",
[ilog2(0x00000002) + 1] = "F_AUTOMOUNTS",
[ilog2(0x00000004) + 1] = "F_EMPTY_PATH",
[ilog2(0x00000010) + 1] = "T_SYMLINKS",
[ilog2(0x00000020) + 1] = "T_AUTOMOUNTS",
[ilog2(0x00000040) + 1] = "T_EMPTY_PATH",
};
$
Will be wired up to the 'perf trace' arg in a followup patch.
Cc: Adrian Hunter <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Brendan Gregg <[email protected]>
Cc: David Howells <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Luis Cláudio Gonçalves <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions