summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-trace.c
diff options
context:
space:
mode:
authorStephane Eranian <eranian@google.com>2013-08-14 12:04:26 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-08-14 11:42:53 -0300
commitc5885749e4ebe568cca969d43488a233e69e6454 (patch)
tree143ce6ecec02d49bc1d1cb1bf644c13bc996ea31 /tools/perf/builtin-trace.c
parent309b5185047c5309bbc576025f6c5e257edd9f69 (diff)
downloadlinux-c5885749e4ebe568cca969d43488a233e69e6454.tar.bz2
perf tools: Improve robustness of topology parsing code
This patch improves the robustness of the build_cpu_topo() routine by allowing either the CPU parsing or the thread parsing to fail and yet get perf to produce some topology data which could be useful for the analysis. Without this patch, if the cpu parsing fails, the thread parsing is not attempted vice-versa. Signed-off-by: Stephane Eranian <eranian@google.com> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung.kim@lge.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20130814100426.GA3444@quad Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-trace.c')
0 files changed, 0 insertions, 0 deletions