summaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
authorThomas Richter2018-04-23 16:29:40 +0200
committerArnaldo Carvalho de Melo2018-04-23 17:05:02 +0200
commit5d9946c3e5e38e07ab7019db9413a96807a325f2 (patch)
tree37f1fab81141027f034e876da3541ba013ee6ecc /tools/perf/util
parentperf mem: Document incorrect and missing options (diff)
downloadkernel-qcow2-linux-5d9946c3e5e38e07ab7019db9413a96807a325f2.tar.gz
kernel-qcow2-linux-5d9946c3e5e38e07ab7019db9413a96807a325f2.tar.xz
kernel-qcow2-linux-5d9946c3e5e38e07ab7019db9413a96807a325f2.zip
perf record: Fix s390 undefined record__auxtrace_init() return value
Command 'perf record' calls: cmd_report() record__auxtrace_init() auxtrace_record__init() On s390 function auxtrace_record__init() returns random return value due to missing initialization. This sometime causes 'perf record' to exit immediately without error message and creating a perf.data file. Fix this by setting error the return code to zero before returning from platform specific functions which may not set the error code in call cases. Signed-off-by: Thomas Richter <tmricht@linux.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> Link: http://lkml.kernel.org/r/20180423142940.21143-1-tmricht@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions