]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
perf s390: Fix reading cpuid model information
authorThomas Richter <tmricht@linux.vnet.ibm.com>
Mon, 19 Feb 2018 10:24:44 +0000 (11:24 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Feb 2018 12:16:01 +0000 (09:16 -0300)
commit47812e00910407a0f14906c0a3bf2d803a616c6f
treed86236dca8dfcb956b1e7dc293c770368919279c
parent11737ca9e3b9d84448fa405a80980aa9957bcee8
perf s390: Fix reading cpuid model information

Commit eca0fa28cd0d (perf record: Provide detailed information on s390
CPU") fixed a  build error on Ubuntu. However the fix uses the wrong
size to print the model information.

Signed-off-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Fixes: eca0fa28cd0d ("perf record: Provide detailed information on s390 CPU")
Link: http://lkml.kernel.org/r/20180219102444.96900-1-tmricht@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/s390/util/header.c