aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2016-02-16 23:08:21 +0900
committerArnaldo Carvalho de Melo <[email protected]>2016-02-19 19:13:21 -0300
commit8451cbb9b174a9b6e016d7f1bff81ff12dbd1990 (patch)
tree6268070f529b326230aa07a56064676345eff490 /tools/perf/util/trace-event-scripting.c
parent7565bd39c1a63c82350d26a66ea1a1f1bb49ad2e (diff)
perf callchain: Check return value of fill_node()
Memory allocation in the fill_node() can fail so change its return type to int and check it in add_child() too. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/r/[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