]> git.baikalelectronics.ru Git - kernel.git/commit
perf callchain: Move cpumode resolve code to add_callchain_ip
authorKan Liang <kan.liang@intel.com>
Tue, 2 Dec 2014 15:06:53 +0000 (10:06 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 9 Dec 2014 13:06:29 +0000 (10:06 -0300)
commit29dba5e5db24486a7e493d53e8bc9e67dbe8876a
tree8b2eca2e80b1dceebab1d6a72249ef7f90d85a64
parent7db5b5a0ed9df38b1f516cc3095a4fd76420d57c
perf callchain: Move cpumode resolve code to add_callchain_ip

Using flag to distinguish between branch_history and normal callchain.

Move the cpumode to add_callchain_ip function.

No change in behavior.

Signed-off-by: Kan Liang <kan.liang@intel.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1417532814-26208-3-git-send-email-kan.liang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c