Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp40045ybl; Tue, 7 Jan 2020 01:42:14 -0800 (PST) X-Google-Smtp-Source: APXvYqx/pAOmALLOddZq7DiZUvTkEZ50UB0tbtVKTUfuJ+Mm3Pgg4zTxdhVZjGsbRvW8alOHa+JX X-Received: by 2002:a9d:2c68:: with SMTP id f95mr122676717otb.33.1578390134560; Tue, 07 Jan 2020 01:42:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578390134; cv=none; d=google.com; s=arc-20160816; b=cJuapRg2EYLRnYahjijb/K/uCCtRg1N0d4wjADpZm6sO0ay6hcVUVIvvjIPZpqaMNX 2+AM4WWr0RvIRtQIjWeLuQPAsnuxOpd2/p1uZWC+iKaACcZ6KIdH4FrYqDHBKSj0mpRK LPGGu4fqXeju6me7RPNy6u/yXrB+y3YF9WrdDnKGvQnzSiNMfSBjuCLMj/Dpa8jbWHta T5W8q4ETopy3/HT+3ILx37VJA4/DV335tZDJt86HHVCwIKgbm3/OQNvDiaISoc/1k71K 42+QbIHMgOtGYI3O7Q0kqgUTvlPboC5t35EabIC1RV1nAwy1KUOK93VGaccz2v2Waqhs 1Ljw== 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=qimizucUql+LgyZPFx5KU3Jt1L/6Nz1SQDqnXvRTHbA=; b=poUQjBg7PefmtU9vWY6w1JdsnXIgkQxPW+EIeoUwmi7ENiVdTyBP2PWlEkw3bLTRFm J4r6aQ6KTtGwjJrWf9Z7uMJIbje5fI2esQnNlwVm3KOBEvPpXtIJAVfZslBB0cbdirws 53yC0eb2o1dNtCVT7vbjLfBOdyjOwA8KlppDdPdVillfii3gnjFZepiiB3NnLfaTlVIE ULvEwanhfLwk6lP8XbU+KjRLQhH36Vxxo8PE5QwOXD1lgi/vzeareXZsX1PEFA44lKL2 /Xm5RBPesyVPgKHOMk8piPWRQlCUhjw4rl246XbTZXFM/55se8CPsx/+0zu9HbhzcO8t Ubgw== 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 f9si15685596oti.60.2020.01.07.01.42.02; Tue, 07 Jan 2020 01:42:14 -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 S1727731AbgAGJlE (ORCPT + 99 others); Tue, 7 Jan 2020 04:41:04 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47666 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726565AbgAGJlE (ORCPT ); Tue, 7 Jan 2020 04:41:04 -0500 Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0079biMd130679 for ; Tue, 7 Jan 2020 04:41:02 -0500 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xapd65rq3-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 07 Jan 2020 04:41:02 -0500 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 7 Jan 2020 09:40:59 -0000 Received: from b06avi18878370.portsmouth.uk.ibm.com (9.149.26.194) 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) Tue, 7 Jan 2020 09:40:57 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0079et6X44368378 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 7 Jan 2020 09:40:55 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B0E40AE04D; Tue, 7 Jan 2020 09:40:55 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9FD84AE053; Tue, 7 Jan 2020 09:40:55 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 7 Jan 2020 09:40:55 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55390) id 56D5DE01CA; Tue, 7 Jan 2020 10:40:55 +0100 (CET) From: Sven Schnelle To: Steven Rostedt Cc: LKML , Sven Schnelle Subject: [PATCH v2] selftests/ftrace: fix glob selftest Date: Tue, 7 Jan 2020 10:40:47 +0100 X-Mailer: git-send-email 2.17.1 X-TM-AS-GCONF: 00 x-cbid: 20010709-0016-0000-0000-000002DB1C12 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20010709-0017-0000-0000-0000333D9222 Message-Id: <20200107094047.87758-1-svens@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-07_02:2020-01-06,2020-01-07 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 clxscore=1015 suspectscore=0 adultscore=0 phishscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001070079 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 --- .../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..cf296a3dd723 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 '*spin*lock' '.*spin.*lock$' # filter by start*mid* ftrace_filter_check 'mutex*try*' '^mutex.*try.*' -- 2.17.1