aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2013-12-03 09:23:06 +0200
committerArnaldo Carvalho de Melo <[email protected]>2013-12-04 13:46:36 -0300
commitd88938ebc97df72320609b33aa0cf9a9a98accb1 (patch)
treeb974eaaa7e6c02c0bbfa2165bcbef104310d9b27 /tools/perf/scripts/python
parent89e3bbd58a6186b832fe2b9419ac2f9ab90e9089 (diff)
perf tools: Use asprintf instead of malloc plus snprintf
The asprintf library function is equivalent to malloc plus snprintf so use it because it is simpler. Signed-off-by: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions