perf probe: No need to use formatting strbuf method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 23 Mar 2016 19:44:49 +0000 (16:44 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 23 Mar 2016 19:53:05 +0000 (16:53 -0300)
commit88fd633cdfa19060a6575b1d53c55c14b11e4fe8
treea0232771b3961926be3497cbb608f4e3b16ff9f7
parenta610f5cbb2a7e26b7f2df2f5df255e34007d6bfd
perf probe: No need to use formatting strbuf method

We have addch() for chars, add() for fixed size data, and addstr() for
variable length strings, use them.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-0ap02fn2xtvpduj2j6b2o1j4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dwarf-aux.c
tools/perf/util/probe-event.c
tools/perf/util/probe-finder.c