Received: by 10.223.185.116 with SMTP id b49csp6193684wrg; Wed, 28 Feb 2018 05:34:31 -0800 (PST) X-Google-Smtp-Source: AH8x225iJAOcSdHNUzqI0EpyZ0ck4Ixew5J9+Ob3mCXmfWsJgob5aAMgvxucoDFTzEpqcHQMFS/7 X-Received: by 10.101.76.13 with SMTP id u13mr13922876pgq.287.1519824871642; Wed, 28 Feb 2018 05:34:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519824871; cv=none; d=google.com; s=arc-20160816; b=lRQb64MtG6pgO/4G0winNoFUXLX4LmFmE0/YAFMgCkTQM2xp+l2OluNz4wDwYmMc0x Cjt9ypKU04rifj/POTpv4PHjrIP7ZKgr6Kqkvbw1tZtRbCUERwyDK5MQu7XIjYf/8BeH 2u6EzJYFY05TO+0AqSO8ReC0xPfDciPj12AMXGOjnt/xqajEO5plqzhVsWAFGjk1kifL wGpkp/2RIh8KGP1/5uzDBAj3cbr2e9V9tSH+/JV/OdnxAOZxRFBHJPtCmhmboU8jdhr2 09QX20WpWHPHTGTlkDb9NrjNIvANzfcvvHzHWt0iNkAQYrOXQvuoRyunHt10ELAxWdWJ dLvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=YIdhlVXnz6EoNbqX+ie8BTXEHPg9SRVRO7B8cuh8Zro=; b=CFpSYv8RZnUEN7arvvo8xgjxj1NUf8bCzZnJSQ+6QQ8SPgpJsFbpr4h+EkdPJfquz6 63TqQb94WD0C4XQJMOvSQ5Noe1Z7MwdKUHL5r9SEvbcHIPwCFdp/d7djPgrkE6vZTrjc Gf8GLDndI6azkFPIDOr2X2JgXiuer4KVW319+3FLjx3uk0fcJEXDZ47psoff4cX7vtfj 9ct/koGISeQk2S0xm4uAcENim29SvZka+qifibyuUfmqCVJ6u7EljwouJ3npAanus+J2 gdLOZ1CyR0f3o3fGBci/xEPJyQzV7Uq8TL0iiTfTUqj2YJizUN1buvnVxcV6xws7JLvU a/Pg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d17-v6si1274471pll.609.2018.02.28.05.34.16; Wed, 28 Feb 2018 05:34:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932121AbeB1Ndf (ORCPT + 99 others); Wed, 28 Feb 2018 08:33:35 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:55806 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752627AbeB1Nda (ORCPT ); Wed, 28 Feb 2018 08:33:30 -0500 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1SDT2ve074916 for ; Wed, 28 Feb 2018 08:33:30 -0500 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 2gdu8qxcxv-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 28 Feb 2018 08:33:30 -0500 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 28 Feb 2018 13:33:27 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 28 Feb 2018 13:33:26 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1SDXP9n54132864; Wed, 28 Feb 2018 13:33:25 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1604352049; Wed, 28 Feb 2018 12:25:11 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id B5BAF52041; Wed, 28 Feb 2018 12:25:10 +0000 (GMT) From: Thomas Richter To: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, acme@kernel.org Cc: brueckner@linux.vnet.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, Thomas Richter Subject: [PATCH 1/2] perf annotate: Remove s390 basr instruction from call table Date: Wed, 28 Feb 2018 14:33:08 +0100 X-Mailer: git-send-email 2.13.5 X-TM-AS-GCONF: 00 x-cbid: 18022813-0020-0000-0000-000003FCDF37 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022813-0021-0000-0000-000042910955 Message-Id: <20180228133309.15758-1-tmricht@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-28_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802280163 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Perf annotate displays function call assembler instructions with a right arrow. Hitting enter on this line/instruction causes the browser to disassemble this target function and show it on the screen. S390 assembler instruction 'basr %r1,%r2' jumps to address stored in register 2. Since the target address is unknown to perf it can not be handled. Therefore remove the right arrow from such an instruction as the target function can not be identified. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/arch/s390/annotate/instructions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/arch/s390/annotate/instructions.c b/tools/perf/arch/s390/annotate/instructions.c index 8c72b44444cb..05f53bd092d4 100644 --- a/tools/perf/arch/s390/annotate/instructions.c +++ b/tools/perf/arch/s390/annotate/instructions.c @@ -12,8 +12,7 @@ static struct ins_ops *s390__associate_ins_ops(struct arch *arch, const char *na ops = &jump_ops; /* override call/returns */ if (!strcmp(name, "bras") || - !strcmp(name, "brasl") || - !strcmp(name, "basr")) + !strcmp(name, "brasl")) ops = &call_ops; if (!strcmp(name, "br")) ops = &ret_ops; -- 2.14.3