Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp475315ybl; Wed, 8 Jan 2020 00:06:21 -0800 (PST) X-Google-Smtp-Source: APXvYqy+SZH9/B9NqNM2MHlL1FQjOe15klLNbD67xmNbOuvy/ATHruVLtHn91NjHWpZynwVMRSyh X-Received: by 2002:a9d:7757:: with SMTP id t23mr3364486otl.315.1578470781311; Wed, 08 Jan 2020 00:06:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578470781; cv=none; d=google.com; s=arc-20160816; b=nuEs192LTThQtO8BZmEHIkuUg8//GcPtq9YfDv4EegbxOw4FcHsUobH8n4FmTYPdvR mbeQ6MPyEbzaeNSb2LL4eAcU2dydemu6fqakGduB3gN/uckf/hC7ysJgfkO+oS7S17aA jeiNp9EqSHywtP4n1Vm/OCDWmJFuLdGJFP86KqyoIK+LirI5nY4VI5pjrZrEyLgozjj+ uLP6gUdp4muBpw1cYB8PVsbgIfoVsIkTSOFQBNe6ORlh6gH/OLdFMw2yJ2LgOBaZRaic rk/1Wg8u6fBraImm/W3GUjvO1VwvtxrtzG+kcvx5TNsg1n8Nq9VQMzOV+dKcmgzxporq L+Qw== 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; bh=GMzhZcMyxFuBn5l6JMAms5Ke5XR03CH3ktlkRxg5mog=; b=FY7gqaHYY5RCJ9Bjlmu8RHdtP+kzrrArrqekf1p3PptY1vTIslM2BH1ymMCxcv6Iw5 0DKj6wO8kinT95U7H9tHLd58NbcBLxbZkuwUo2jk5YV31tEEGw3cC5MGfnOnbVuFIO8D i4L6hebt7ulcQV3zKYdXsd/n+jGHa5+WjFqq9VN5GuLAUe9L/dqcINXOKxqOUMssHf5A xjOi6I7GLEMXKPqo9n/tsJH3jjPXUaaAOcQSWmdOqpHeqNhNvb1AlkAat7Wd0ZFlJ6JI qjvDLczNzheCHh35eBlPBn4EMEDqgxmu5bnsacxMVY00/mrDINdkEZrBd075Nuob7B7g WU4Q== 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 k8si1393703otp.13.2020.01.08.00.06.06; Wed, 08 Jan 2020 00:06:21 -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 S1726820AbgAHHky (ORCPT + 99 others); Wed, 8 Jan 2020 02:40:54 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:23072 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbgAHHkx (ORCPT ); Wed, 8 Jan 2020 02:40:53 -0500 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0087bDQt027165 for ; Wed, 8 Jan 2020 02:40:53 -0500 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xaq7yxgh2-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 08 Jan 2020 02:40:52 -0500 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 8 Jan 2020 07:40:50 -0000 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) Wed, 8 Jan 2020 07:40:47 -0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0087ejGg32047290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Jan 2020 07:40:45 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8EF45A4054; Wed, 8 Jan 2020 07:40:45 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7E000A405F; Wed, 8 Jan 2020 07:40:45 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 8 Jan 2020 07:40:45 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55390) id 3C548E0264; Wed, 8 Jan 2020 08:40:45 +0100 (CET) From: Sven Schnelle To: Steven Rostedt Cc: LKML , Sven Schnelle Subject: [PATCH v3] selftests/ftrace: fix glob selftest Date: Wed, 8 Jan 2020 08:40:43 +0100 X-Mailer: git-send-email 2.17.1 X-TM-AS-GCONF: 00 x-cbid: 20010807-0016-0000-0000-000002DB65CE X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20010807-0017-0000-0000-0000333DDF8D Message-Id: <20200108074043.21580-1-svens@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-08_01:2020-01-07,2020-01-08 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 phishscore=0 malwarescore=0 clxscore=1015 bulkscore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 impostorscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001080065 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org test.d/ftrace/func-filter-glob.tc is failing on s390 because it has ARCH_INLINE_SPIN_LOCK and friends set to 'y'. So the usual __raw_spin_lock symbol isn't in the ftrace function list. Change '*aw*lock' to '*spin*lock' which would hopefully match some of the locking functions on all platforms. Signed-off-by: Sven Schnelle --- Changes in v3: change '*spin*lock' to '*pin*lock' to not match the beginning Changes in v2: use '*spin*lock' instead of '*ktime*ns' .../testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc index 27a54a17da65..f4e92afab14b 100644 --- a/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc +++ b/tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc @@ -30,7 +30,7 @@ ftrace_filter_check '*schedule*' '^.*schedule.*$' ftrace_filter_check 'schedule*' '^schedule.*$' # filter by *mid*end -ftrace_filter_check '*aw*lock' '.*aw.*lock$' +ftrace_filter_check '*pin*lock' '.*pin.*lock$' # filter by start*mid* ftrace_filter_check 'mutex*try*' '^mutex.*try.*' -- 2.17.1