perf annotate: Scan cpuid for s390 and save machine type
authorThomas Richter <tmricht@linux.vnet.ibm.com>
Tue, 13 Feb 2018 15:14:17 +0000 (16:14 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Feb 2018 18:16:57 +0000 (15:16 -0300)
commitc59124fa59757fadc80ad881056a21f98c71b146
tree985889165076461b6aa753461a847dbd1e4ff550
parenteca0fa28cd0df7369701dbee0e30ddce19c039b8
perf annotate: Scan cpuid for s390 and save machine type

Scan the cpuid string and extract the type number for later use.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Link: http://lkml.kernel.org/r/20180213151419.80737-2-tmricht@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/s390/annotate/instructions.c