diff options
author | Wang Nan <wangnan0@huawei.com> | 2016-06-24 13:22:07 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-06-28 15:54:55 +0200 |
commit | 3275f68e50290acd04612c6af41173fe83fdf4b0 (patch) | |
tree | 400cc48e0a9cb697f90bbd2399045639c00fc5ec /tools/perf/util/data-convert.h | |
parent | perf data ctf: Add value_set_string() helper (diff) | |
download | linux-3275f68e50290acd04612c6af41173fe83fdf4b0.tar.xz linux-3275f68e50290acd04612c6af41173fe83fdf4b0.zip |
perf data ctf: Pass convert options through opts structure
Following commits will add new option to 'perf data convert'. All options
should be grouped into a structure and passed to low level converter
(currently there's only one converter).
Introduce data-convert.h and define 'struct perf_data_convert_opts' in
it. Pass 'force' through opts.
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-3-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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/util/data-convert.h b/tools/perf/util/data-convert.h new file mode 100644 index 000000000000..97cfd36aab6f --- /dev/null +++ b/tools/perf/util/data-convert.h @@ -0,0 +1,8 @@ +#ifndef __DATA_CONVERT_H +#define __DATA_CONVERT_H + +struct perf_data_convert_opts { + bool force; +}; + +#endif /* __DATA_CONVERT_H */ |