perf probe: Use strbuf for making strings
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Wed, 27 Apr 2016 18:37:14 +0000 (03:37 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 Apr 2016 12:58:58 +0000 (09:58 -0300)
commit909b0360ae358f212f526e171ea4ef433b1b4103
tree7c88d58c92e289b1f2676837cc28339a3d8ff6c8
parent81d64f46d41c428474c64e5c59e5458b7f50d9fd
perf probe: Use strbuf for making strings

Replace many fixed-length char array with strbuf to stringify
perf_probe_event and probe_trace_event etc.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20160427183713.23446.97377.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-event.c
tools/perf/util/probe-event.h
tools/perf/util/probe-finder.c