diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2016-02-25 10:14:50 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-02-25 10:14:50 -0300 |
commit | 5104ffb229c357d9672344126040721e5dc4cc7b (patch) | |
tree | 69966fba15c2ace4c88352f83cdb4dfdbf86772d /tools/perf/util/trace-event-scripting.c | |
parent | 06466212a69c0511c5dcff7363c207ffc8913731 (diff) |
perf tools: Use asprintf() for simple string formatting/allocation
No need to use strbuf there, its just a simple alloc+formatting, which
asprintf does just fine.
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions