aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2013-03-21 16:18:49 +0900
committerArnaldo Carvalho de Melo <[email protected]>2013-03-21 13:32:46 -0300
commita4c983670e0f4285fe115cb2ad697c978c7950b6 (patch)
treef3b4f5a206c991213b9de583e31e76ba85597bf4 /tools/perf/scripts/python
parent3dce2ce3cc40ece2562a5a83e879b4bfb451476c (diff)
perf tools: Get rid of malloc_or_die() in trace-event-read.c
Check return value of malloc() and fail if error. Now read_string() can return NULL also check its return value and bail out. Signed-off-by: Namhyung Kim <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[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