commit | 655000e7c75a559681ee7f15f6fa870c80ae3194 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <[email protected]> | Tue Dec 15 20:04:40 2009 -0200 |
committer | Ingo Molnar <[email protected]> | Wed Dec 16 08:53:49 2009 +0100 |
tree | 69a56e19c818b0929dbea8d119fa133853c5ee80 | |
parent | 75be6cf48738aec68aac49b428423569492cfba3 [diff] [blame] |
perf symbols: Adopt the strlists for dso, comm Will be used in perf diff too. Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Frédéric Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paul Mackerras <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 07ad25c..e2285e2 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c
@@ -579,13 +579,13 @@ exit(-1); } - symbol__init(); - setup_scripting(); argc = parse_options(argc, argv, options, annotate_usage, PARSE_OPT_STOP_AT_NON_OPTION); + if (symbol__init() < 0) + return -1; setup_pager(); session = perf_session__new(input_name, O_RDONLY, 0);