Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp161089ybl; Tue, 28 Jan 2020 00:32:38 -0800 (PST) X-Google-Smtp-Source: APXvYqwiFeiXtZHtn5mi4DkGUtNEM7RY75AxNYAWxC2ziTaO2ymDOr34gHqof2CY6Y5WHUP7Byu2 X-Received: by 2002:a05:6808:487:: with SMTP id z7mr2132619oid.59.1580200357941; Tue, 28 Jan 2020 00:32:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580200357; cv=none; d=google.com; s=arc-20160816; b=cJuEHrWLymW0Do90tZKZrlFzo5jOZhyFnbHzjaNoib/2YfyDECD637ahXER3fBCSHp d/h4B3CanevrQQtGqdKc/SGeIRSuz83oImxRsQgLgV4NOOQhTNtuNN0MT2e8iPbvy2qI y2VoOdLefyY6J7qCt5nr32wTLHQZg6UjpoFAbc/8TnTcCLByM41seFzSnm2tyGxXmc6L qEhgoWfdmXN4/Pet9NqUga6WzXU7fEKI0oJqPvCe4PF63iRgAqoJEX3bCHTrlY1k1Afh RgXfQ26QeSuPvy6VEBXX/ZMMns+dG0lusvET3RVqDE1BtgVDhzWe3dRcjreyCSY2CFjw a+yg== 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=Drjqwd6zqhqS7UlwCwtBQerTb+HFVCxoxqMosgdPMi4=; b=Os4+012NdFHBoZ0mYijJa9ExmGMDzJWhMA8wnZCevSFucFDtp3P6pdwDOoL/JHF9yE rbKzag9bhnDucer/tvsG4MK6msFfgDzztMJP7K/RNg8inzJGzEVPtfILBlHyYsIaF1Uq C+S9gh5FEknrmbzHFplSQ1HzMEj+1BopfmmbXOJz//Hj2q65UnLhV7P6d0rIGXulu3am Z+TIlFbIYG57ySB+56GRCUXfyjI0zwlcFjN46oo1iWPmGwdtSwlp8ENQ3wU7QhZt6HYE xXzspyK67VVcvb8AWvfbOzhygeJAiPZaD/FRmxpYdGHLB2typtxNlM9H0lzNIt6aMeck dLNA== 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 x16si8467282otp.184.2020.01.28.00.32.23; Tue, 28 Jan 2020 00:32:37 -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 S1725971AbgA1Iaw (ORCPT + 99 others); Tue, 28 Jan 2020 03:30:52 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:28664 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbgA1Iaw (ORCPT ); Tue, 28 Jan 2020 03:30:52 -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 00S8Spsj022196 for ; Tue, 28 Jan 2020 03:30:50 -0500 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xrvw7gn4x-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 28 Jan 2020 03:30:49 -0500 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 28 Jan 2020 08:30:42 -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, 28 Jan 2020 08:30:40 -0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 00S8UdOE46792994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Jan 2020 08:30:39 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 280CDA4040; Tue, 28 Jan 2020 08:30:39 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 211A0A4059; Tue, 28 Jan 2020 08:30:39 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 28 Jan 2020 08:30:39 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55390) id C6D49E0663; Tue, 28 Jan 2020 09:30:38 +0100 (CET) From: Sven Schnelle To: Shuah Khan Cc: Steven Rostedt , Ingo Molnar , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Sven Schnelle Subject: [PATCH v4] selftests/ftrace: fix glob selftest Date: Tue, 28 Jan 2020 09:30:29 +0100 X-Mailer: git-send-email 2.17.1 X-TM-AS-GCONF: 00 x-cbid: 20012808-0016-0000-0000-000002E15901 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20012808-0017-0000-0000-0000334418C9 Message-Id: <20200128083029.34050-1-svens@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-28_02:2020-01-24,2020-01-28 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 malwarescore=0 phishscore=0 spamscore=0 impostorscore=0 bulkscore=0 lowpriorityscore=0 mlxscore=0 mlxlogscore=999 clxscore=1015 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1911200001 definitions=main-2001280069 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. Reviewed-by: Steven Rostedt (VMware) Signed-off-by: Sven Schnelle --- Changes in v4: - rebase to latest master 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