perf tools: Let get_tracing_file() return NULL to indicate failure.
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 21 Mar 2013 07:18:44 +0000 (16:18 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 21 Mar 2013 16:09:42 +0000 (13:09 -0300)
commit454f8c7d26fa7e1545df4efca5d9ba929ccef1e8
treeac0892882d9293d62c1e0fdaee08f3b250f67a12
parent62baca8aed636eb10f9274761aa1dcbfd48a7caa
perf tools: Let get_tracing_file() return NULL to indicate failure.

So that it can be used by other places.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1363850332-25297-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/trace-event-info.c