perf kvm: Use perf_session_env for reading cpuid
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 24 Sep 2012 08:15:02 +0000 (17:15 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 Sep 2012 14:47:27 +0000 (11:47 -0300)
commit2f9e97aa8b4c6220c0770a966fb99d7366679813
tree9290ce9a6c7ceb7fc1c84b969a27643abbf73fbd
parent3d7eb86b9d84e7493c8c835fbcd2a3fe4a1f5937
perf kvm: Use perf_session_env for reading cpuid

We have processed and saved cpuid information to perf_session_env so
reuse it for get_cpu_isa().

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Dong Hao <haodong@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1348474503-15070-6-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kvm.c