diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-03-23 15:44:09 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-03-23 16:36:07 -0300 |
commit | a610f5cbb2a7e26b7f2df2f5df255e34007d6bfd (patch) | |
tree | d69e2f9289c94abc500de45d3c178b4fb0f6d9ee /tools/perf/util/probe-finder.c | |
parent | cf47a8aede9febee21cbd21d40a9c47244773a6c (diff) | |
download | op-kernel-dev-a610f5cbb2a7e26b7f2df2f5df255e34007d6bfd.zip op-kernel-dev-a610f5cbb2a7e26b7f2df2f5df255e34007d6bfd.tar.gz |
perf help: Use asprintf instead of adhoc equivalents
That doesn't chekcs malloc return and that, when using strbuf, if it
can't grow, just explodes away via die().
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-vr8qsjbwub7e892hpa9msz95@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/probe-finder.c')
0 files changed, 0 insertions, 0 deletions