Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp554742imm; Fri, 28 Sep 2018 03:04:33 -0700 (PDT) X-Google-Smtp-Source: ACcGV626Fful5TpyiU2cx3j6egeYbDsXSHoEjRWnb0YBCvN0vkQBeUactHKI6N0yGCmzHFPMk+N/ X-Received: by 2002:a17:902:c85:: with SMTP id 5-v6mr15588407plt.141.1538129073381; Fri, 28 Sep 2018 03:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538129073; cv=none; d=google.com; s=arc-20160816; b=vzrTDYn0InixfBuFfg1y2/6u9UK7J7hO9mKm42AMzSPfKofFjzl/zGfNVZKCGadzqC qefxjITI+4j3Hl4CZrA1wKEC9p+RhsyiJjxRNGFLYLYv47KfuQ4ZSbkkwziMyG/W/piG 7/mccw5hVq16MvUarzQLUaxKQyO1VSI8yeU9EeyPFph970mIZUsG1DsmqpcbHo0o7ii6 Hri5opOq4OUy4vQCr2Ng5Mcfw3p3Z0Ii304jGy8KTMNDqejWdkpGKtlcc5JvsveTAeqN SIcJdVu1J1sLolCaSCnJkpjX9LCjz9pvvRPCgDCl0jWXwO7l0bWdxIxTj9wFOa7GvZxr +nYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :organization:from:references:cc:to:subject; bh=NECIeDNyYx1ALTrVNFe/fg8/Wgj3p7l2h+uSkx+e+WE=; b=o4VesD5iE6x3rH2W+2NGxZDbjoE0QskZx7vGANzDQkRzg6CgORxnTc3W/CrhDoqSJk zTjT0F/gt9rDulaCId85EtAX1pLtKeHLCPFPfnXkjckNsswSm+teDfLXuOh7vvJg9Y0m JZjfmyuuGRBq5Z/MtDdytNIQmDVo6eSiZrgT7L5ju2qcvDb5ljEx+6xuCfTd2SeOa43k Y5/j1jv4920DiLZy/zGq02r8AmP1sRFrIov4YuSEL++jMmBPri1D49AD90aqReKiJf38 zlDu9QV5zEyPTWS+J+aglsuSHKNTnY3iObTsQP1x1U6Ed0+hOdjolINPd+19DN7JeWrI G5xg== 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 p81-v6si1708293pfd.76.2018.09.28.03.04.14; Fri, 28 Sep 2018 03:04:33 -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 S1729181AbeI1QZi (ORCPT + 99 others); Fri, 28 Sep 2018 12:25:38 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34230 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729008AbeI1QZi (ORCPT ); Fri, 28 Sep 2018 12:25:38 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8S9x5Ko017327 for ; Fri, 28 Sep 2018 06:02:38 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2msj4pr8au-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 28 Sep 2018 06:02:38 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 28 Sep 2018 11:02:34 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 28 Sep 2018 11:02:31 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w8SA2UF164290846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 28 Sep 2018 10:02:30 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6DDC111C064; Fri, 28 Sep 2018 13:02:10 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 07F6911C052; Fri, 28 Sep 2018 13:02:10 +0100 (BST) Received: from oc3784624756.ibm.com (unknown [9.152.212.24]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 28 Sep 2018 13:02:09 +0100 (BST) Subject: Re: [PATCH v2] perf test: S390 does not support watchpoints in test 22 To: Ravi Bangoria Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, acme@kernel.org, brueckner@linux.vnet.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com References: <20180928074317.42893-1-tmricht@linux.ibm.com> From: Thomas-Mich Richter Organization: IBM Date: Fri, 28 Sep 2018 12:02:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18092810-0016-0000-0000-0000020BBDE5 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18092810-0017-0000-0000-00003262E8D6 Message-Id: <491ce3c5-f1ce-1513-3a9f-b86795e0332a@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-28_04:,, 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 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809280102 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/28/2018 10:37 AM, Ravi Bangoria wrote: > Hi Thomas, > > On 09/28/2018 01:13 PM, Thomas Richter wrote: >> diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c >> index 54ca7d87236f..e83c15a95c43 100644 >> --- a/tools/perf/tests/builtin-test.c >> +++ b/tools/perf/tests/builtin-test.c >> @@ -124,7 +124,7 @@ static struct test generic_tests[] = { >> .desc = "Watchpoint", >> .func = test__wp, >> .subtest = { >> - .skip_if_fail = false, >> + .skip_if_fail = true, > > Can you instead use ".is_supported"? > > Thanks, > Ravi > Hi Ravi, I can rework the patch to use the is_supported() member function. The down side is that the test does not show up in the list of executed tests anymore, unless some debug output is enabled: [root@s8360046 perf]# ./perf test -F 22 [root@s8360046 perf]# ./perf test -Fv 22 22: Watchpoint : Disabled [root@s8360046 perf]# I leave it to Arnaldo to decide... -- Thomas Richter, Dept 3303, IBM s390 Linux Development, Boeblingen, Germany -- Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294