Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp135821ybl; Tue, 7 Jan 2020 15:43:54 -0800 (PST) X-Google-Smtp-Source: APXvYqw5J9Qtei8nso772vG5ag5nP75AMtMIaZoClaYx+cA48CaE0EoAHCxaQ0rotSpo3W6GD1eC X-Received: by 2002:aca:ec93:: with SMTP id k141mr766327oih.145.1578440634291; Tue, 07 Jan 2020 15:43:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578440634; cv=none; d=google.com; s=arc-20160816; b=dg+JU8KRdcqRm4Na7KVvHgrnRyFP0yTy286FJThvGdO0wsfoqHTtf0E7QyvAYnpKLE l8DjVczHizCCKfIamBYr/hA3uhTjuyJFKhYXEV60CzluJwkmMj7MHDmZUMVO3w1pgezD fr/o3OYDe7ezQhiVALfp+1URgdpwm1YZwvF8Kj60a+VMlVYv01Fbj7lM7k8JIpNN4GOC J66A9wjogLMEPU5P9UHS333o250Qm4bM+d2TQ6D4xM6nfe1Mj/v4+9/GZ4sFQC0tyhU3 fuHLLbb45nUjs1xUDXXaQFtgPP8j5MjOlIIkF7uihEcYxgpmZ/5zrOEAn9UuVyeuI9sH dtQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=NXiAPA8f1fDxlFoFREYvRQJ383d/ELbVTWYtQUT0aTo=; b=O/CNLbnvXcdAns8pP0kapOze7GTRv2euNQ800CnukIMC3ftBTZcaXv3cFwnxkgxOuu 6BtgE3Tw6KzpjuKMO1FefWBqh6wYfBu343afvUjqxw1F1Ca+nsLeiyaUgdL+sS4Q+6Xr BZI5xr96Y+uHn+M1KpHko0fkrfugRKWrNrIecOQ3FphvaNN6jIgszTcXw1T9olkc1kbF Irmdje+KiwxQTzbwqUBuZ6v6O4930jKyphPjK6hWqLT/Pa5z8p2Qqsod/7cBQrR5Mbew O52Wo60jKq83HjJn0V9HbTi11FLkxqJ3OS7jkq1o41duXY/iEsbH9px148k/ttSDwGQN ruyQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w29si885685oth.313.2020.01.07.15.43.37; Tue, 07 Jan 2020 15:43:54 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727160AbgAGXmz (ORCPT + 99 others); Tue, 7 Jan 2020 18:42:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:40968 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726389AbgAGXmz (ORCPT ); Tue, 7 Jan 2020 18:42:55 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 805142075A; Tue, 7 Jan 2020 23:42:54 +0000 (UTC) Date: Tue, 7 Jan 2020 18:42:53 -0500 From: Steven Rostedt To: Sven Schnelle Cc: LKML Subject: Re: [PATCH v2] selftests/ftrace: fix glob selftest Message-ID: <20200107184253.2f97cf3f@gandalf.local.home> In-Reply-To: <20200107094047.87758-1-svens@linux.ibm.com> References: <20200107094047.87758-1-svens@linux.ibm.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Jan 2020 10:40:47 +0100 Sven Schnelle wrote: > 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$' Just to make it not check the beginning, can you remove the 's': '*pin*lock' '.*pin.*lock$' Thanks! -- Steve > > # filter by start*mid* > ftrace_filter_check 'mutex*try*' '^mutex.*try.*'