]> git.baikalelectronics.ru Git - 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)
commit969a4f96dfabeab35a73d2231a1006031844b76c
treed86236dca8dfcb956b1e7dc293c770368919279c
parent361f4114e56e661ac800aac5633d5fe01373f9e3
perf s390: Fix reading cpuid model information

Commit a880ea884b47 (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: a880ea884b47 ("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