perf data ctf: Add value_set_string() helper
authorWang Nan <wangnan0@huawei.com>
Fri, 24 Jun 2016 11:22:06 +0000 (11:22 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 Jun 2016 13:54:55 +0000 (10:54 -0300)
commit069ee5c488d161f539bb897b1bc64b83f9773221
tree2eefab2fd756f57939068fdceacc1d79e6d1895a
parented7b630b310775f3b6c0b360ede7a12cd8dff6fe
perf data ctf: Add value_set_string() helper

There are many value_set_##x helper for integer, but only for integer.
This patch adds value_set_string() helper to help following commits
create string fields.

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-2-git-send-email-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/data-convert-bt.c