diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-05-21 15:57:16 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-05-28 18:37:43 -0300 |
commit | 3637c64731a78ebe81fba0c282208a860c839307 (patch) | |
tree | 7aa6683d30d78c5a09c2d11139bec3a906cfe248 /tools/perf/scripts/python/syscall-counts.py | |
parent | dcc6fd64f2e9448ccc1c3e1ccd46a9ff5286b861 (diff) |
perf beauty: Add generator for fsmount's 'attr_flags' arg values
$ tools/perf/trace/beauty/fsmount.sh
static const char *fsmount_attr_flags[] = {
[ilog2(0x00000001) + 1] = "RDONLY",
[ilog2(0x00000002) + 1] = "NOSUID",
[ilog2(0x00000004) + 1] = "NODEV",
[ilog2(0x00000008) + 1] = "NOEXEC",
[ilog2(0x00000010) + 1] = "NOATIME",
[ilog2(0x00000020) + 1] = "STRICTATIME",
[ilog2(0x00000080) + 1] = "NODIRATIME",
}
MOUNT_ATTR__ATIME and MOUNT_ATTR_RELATIME will be special cased in the
fsmount__scnprintf_flags() beautifier.
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: 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