aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2013-10-09 17:00:23 +0200
committerArnaldo Carvalho de Melo <[email protected]>2013-10-14 10:29:05 -0300
commit3fb66335e13ef7426affe9efa48c08857202c1cb (patch)
tree79ac28d0e912e5c81c08363fb0a6093e0761e552 /tools/perf/util/scripting-engines/trace-event-python.c
parent4e987712740a3634c19a6fedaf12577b26775dc5 (diff)
tools/perf/build: Fix non-existent build directory handling
Arnaldo reported that non-existent build directories were not recognized properly. The reason is readlink failure causing 'O' to become empty. Solve it by passing through the 'O' variable unmodified if readlink fails. Reported-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions