Received: by 10.192.165.156 with SMTP id m28csp2202090imm; Thu, 12 Apr 2018 10:13:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/pcR1hYeU90X+W6GrskZV5m8ekqw18uqQc8prGdGp5Mp6X/tPVfsPD5YN1/Mc2D0EoiPh7 X-Received: by 10.98.156.91 with SMTP id f88mr8450351pfe.128.1523553187712; Thu, 12 Apr 2018 10:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523553187; cv=none; d=google.com; s=arc-20160816; b=0tdhTBlsG0KZhDyP9vtSBDn8AebdRzZGUkw52cP7pkidUfKc6nfNj6j3+CSmPWvVI5 RCzv88Ef/yzFoaEzts5ruNFv/OO878xF/bmXATv17QNCmESlITo/PgozzIlG+iXlDpW8 cLSzKabYbGBwP+O2aL2NOFn5oi2CVTHPv8kjzOc+McSG3hS6UtyWB1oR5IKZQZHj+gS1 uqWloUcvxQ66EtVABeeftBZ9gij9kcM0+KxK5/EKpJuZV9DbaHBTUKJl0ZClV/hMSJSf Q3WZ/Cg9YODEH9fkfExJ545jP/xHz24BdQl8eOVVUkbv6TfqZ/tJKCgaTUD4Il6W6kq0 r+pQ== 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=m/vTFkiOQxXduBUeRYuvcrMfT8oC01mNty1TnBBub4w=; b=0t0Q++jlWQnnvqLTQ3Bu2WdlEmseW3ERHQ9nBwEZziL8SfM3T89CRqAHvGvwP8yPW1 favVgbETj15sluq+/sYk8UijElLySuZ/NYkGxVomCWUQ41Q10wRr84Mfe61dRO1jEAvJ bWEZavK4uC2cS08IUdR5Ijicq3B/EZRWyisQgMfWc/e1s5bn/KGkSRmOLxnkD3u3hdL8 GpzQeW2AfCz75ruW2Lq85eqZw5C5DQuxnqW+CmLZw+BuYqTOvVxLpy3VZHryULe6F5jI mOzsYhbBLifsWimY9JcriPKB6I7ifW9B/ZuS8mQk0AvdPewN7VVDJg2kpzmrvn4dYupZ A5tQ== 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 r8si2493294pgq.593.2018.04.12.10.12.52; Thu, 12 Apr 2018 10:13:07 -0700 (PDT) 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 S1752775AbeDLRLh (ORCPT + 99 others); Thu, 12 Apr 2018 13:11:37 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:37568 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752389AbeDLRLg (ORCPT ); Thu, 12 Apr 2018 13:11:36 -0400 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 w3CH8lvI019898 for ; Thu, 12 Apr 2018 13:11:35 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ha91uqywh-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Thu, 12 Apr 2018 13:11:34 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 12 Apr 2018 18:11:32 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 12 Apr 2018 18:11:31 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3CHBVcL8257824; Thu, 12 Apr 2018 17:11:31 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 92D7911C04A; Thu, 12 Apr 2018 18:03:34 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B4CC311C050; Thu, 12 Apr 2018 18:03:33 +0100 (BST) Received: from localhost.localdomain (unknown [9.40.193.84]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 12 Apr 2018 18:03:33 +0100 (BST) From: Sandipan Das To: acme@kernel.org, jolsa@redhat.com Cc: linux-kernel@vger.kernel.org, naveen.n.rao@linux.vnet.ibm.com, ravi.bangoria@linux.vnet.ibm.com Subject: [PATCH 0/2] perf: Fixes for callchain ip handling on powerpc Date: Thu, 12 Apr 2018 22:41:27 +0530 X-Mailer: git-send-email 2.14.3 X-TM-AS-GCONF: 00 x-cbid: 18041217-0008-0000-0000-000004E9DBC3 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18041217-0009-0000-0000-00001E7DE60A Message-Id: <20180412171129.4422-1-sandipan@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-12_09:,, 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=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804120168 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first patch fixes the callchain ip filtering mechanism for powerpc from skipping entries in case the LR value is still valid and yet to be written to the stack frame. This was previously posted as an RFC here: https://lkml.org/lkml/2018/4/4/633 The second patch fixes a shell test which used to fail on powerpc as the back trace from perf output did not match the expected pattern. Also, because of the issue described in the first patch, some entries from the callchain were incorrectly skipped. So, this has also been readjusted to work with the fix in the first patch. Sandipan Das (2): perf tools powerpc: Fix callchain ip filtering perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64 tools/perf/arch/powerpc/util/skip-callchain-idx.c | 58 +++++++++++++++------- .../tests/shell/record+probe_libc_inet_pton.sh | 8 +++ 2 files changed, 49 insertions(+), 17 deletions(-) -- 2.14.3