diff options
author | Wang Nan <wangnan0@huawei.com> | 2016-06-24 14:22:08 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-06-28 16:54:56 +0300 |
commit | f02a6489d1e181c6c2731e80ff37024a130c326a (patch) | |
tree | 04dc49c7be35dee2cd454a0111309a6d1d9fab6e /tools/perf/util/data-convert.h | |
parent | 3275f68e50290acd04612c6af41173fe83fdf4b0 (diff) | |
download | linux-f02a6489d1e181c6c2731e80ff37024a130c326a.tar.xz |
perf data ctf: Add 'all' option
If 'all' option is selected, 'perf data convert' should convert not only
samples, but non-sample events such as comm and fork. Add this option in
perf_data_convert_opts. Following commits will add cmdline option to
select it.
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1466767332-114472-4-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/data-convert.h')
-rw-r--r-- | tools/perf/util/data-convert.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/data-convert.h b/tools/perf/util/data-convert.h index 97cfd36aab6f..5314962fe95b 100644 --- a/tools/perf/util/data-convert.h +++ b/tools/perf/util/data-convert.h @@ -3,6 +3,7 @@ struct perf_data_convert_opts { bool force; + bool all; }; #endif /* __DATA_CONVERT_H */ |