diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-05-22 00:43:39 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-05-28 21:37:43 +0000 |
| commit | 8ef6d74e1dd5ac830fa8b7943255ad9a44a94914 (patch) | |
| tree | 0257ef5d298980d66ccf8212333440109c283244 /tools/perf/scripts/python/sctop.py | |
| parent | perf trace beauty clone: Handle CLONE_PIDFD (diff) | |
| download | kernel-8ef6d74e1dd5ac830fa8b7943255ad9a44a94914.tar.gz kernel-8ef6d74e1dd5ac830fa8b7943255ad9a44a94914.zip | |
perf beauty: Add generator for sync_file_range's 'flags' arg values
$ tools/perf/trace/beauty/sync_file_range.sh
static const char *sync_file_range_flags[] = {
[ilog2(1) + 1] = "WAIT_BEFORE",
[ilog2(2) + 1] = "WRITE",
[ilog2(4) + 1] = "WAIT_AFTER",
};
$
When all are the above are present, then we have something called
SYNC_FILE_RANGE_WRITE_AND_WAIT, that will be special cased in the
upcoming scnprintf beautifier for this flags arg.
Cc: Adrian Hunter <[email protected]>
Cc: Amir Goldstein <[email protected]>
Cc: Brendan Gregg <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[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/sctop.py')
0 files changed, 0 insertions, 0 deletions
