perf probe: Remove length limitation for showing available variables
authorHe Kuang <hekuang@huawei.com>
Mon, 11 May 2015 09:25:02 +0000 (09:25 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 May 2015 12:59:49 +0000 (09:59 -0300)
commitfb9596d1731cc37da6489de439f8b876f3a12db2
tree56cab9e7550431c1c5a2ef24aeaa37f87da1d628
parentff8f695c0ec9d73d8a9f92fe634d6476ad74e3a1
perf probe: Remove length limitation for showing available variables

Use struct strbuf instead of bare char[] to remove the length limitation
of variables in variable_list, so they will not disappear due to
overlength, and make preparation for adding more description for
variables.

Signed-off-by: He Kuang <hekuang@huawei.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1431336304-16863-1-git-send-email-hekuang@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dwarf-aux.c
tools/perf/util/dwarf-aux.h
tools/perf/util/probe-finder.c