Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1376716ybz; Fri, 1 May 2020 21:45:59 -0700 (PDT) X-Google-Smtp-Source: APiQypKG06liBDsLooeqGvF7bE79yzdovo9vJ/i/RHZs/iT66ZtJVz/z7ucpOBVKOZyL1Uh7d/Mh X-Received: by 2002:a50:b285:: with SMTP id p5mr6493340edd.150.1588394758918; Fri, 01 May 2020 21:45:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588394758; cv=none; d=google.com; s=arc-20160816; b=KNgztC1i7y/G4iaGwKzyY07exqPL1M++bTDwXf2QZDf5GTSNvghb7YCiqSl8VXW7vA M2ofEbFjd76gCp2l0zLeOjKWA0HwsdOMvc9l+l/NfOye4IP0ZZfFxdHCbrBoIQhSEZhU t8f7WNiE4H8htFwmafLI4DfieitTPSwVILp0WD/p131UMe2CUJuslXZpOF4Cp6nUX0ap xE3nGLyPaKJIKGdHYqg/dso9tuOT/qjL9KmnqBhBaZABMlpK5grAjxHBaQbWR/xFOU12 VFUcS1F/Z/bi59tV5016YAziT1Ad1Ue8IUlwRQxIcJPeShHDC2Y1GkgNI/HrBpJ3CFyV cvUg== 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 :dkim-signature; bh=v9BDzfWblY3oicp49dMg1UygYINqQdC9F9Xugz5F5Iw=; b=eC8Sxgfla7mtqEKuTSsKyTHZVm2WeEHosEmW0JXmPjU0pLjwt4DQ8p/Vh+hmeJsGKf gSh29+nFDHXKOeEtSnw6URI4qpk2gJ5YZeoCtYPw9W+sioL9GgfhwgnjUU8nb3TQWLwz 78wnuSr/X6oAN4o/Bo+6DsRy/MivHS2R+1C4qZU1S1N005AuWlRhdcfojxFNE6IgiYKQ +hZy1Kne3gbnZFUHO/sZ7Jax7FVNZy95YnXXBxz7OPTSRU5J4or762JQYWR0kmzJ5Z0I XZIh23an/kwi1FQy6m6vfkFPD78RGgX8crYGrue6CKQze2hqcxoH6H4yPJD/XtnhKHiZ +c9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="nqpU/4qO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd8si3156438ejb.486.2020.05.01.21.45.35; Fri, 01 May 2020 21:45:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="nqpU/4qO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726562AbgEBEmN (ORCPT + 99 others); Sat, 2 May 2020 00:42:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:59542 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726435AbgEBEmN (ORCPT ); Sat, 2 May 2020 00:42:13 -0400 Received: from devnote2 (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (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 3722B20787; Sat, 2 May 2020 04:42:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588394532; bh=S1e9cxXKElXzg5pTAonXc9u8JI0iLsAPtXeYi8T50ZQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nqpU/4qORKCayZQW2kFw76As9eRL4aqHNo0fRLBkcXbkmkANQf0cmY7U26Rj87YgY gpp1DcxXeD6yaKArjwb/oHH67NjTfr0U82atZ5NgakvFGnAlTU2VCF5tZTRM5rSzJW 1S3TDm7s0YOUzZvnXmEW+K14MtNbn9t/LjsIiRbs= Date: Sat, 2 May 2020 13:42:07 +0900 From: Masami Hiramatsu To: shuah Cc: Alan Maguire , rostedt@goodmis.org, mingo@redhat.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Po-Hsu Lin , Shuah Khan Subject: Re: [PATCH v2 2/2] ftrace/selftest: make unresolved cases cause failure if --fail-unresolved set Message-Id: <20200502134207.0e60ed383c0867f1d82498fd@kernel.org> In-Reply-To: <75fc65c3-a639-41cf-0a10-554e632e9612@kernel.org> References: <1582104810-12983-1-git-send-email-alan.maguire@oracle.com> <1582104810-12983-3-git-send-email-alan.maguire@oracle.com> <20200219203941.eb0fb66aee13f6d7a47513ac@kernel.org> <20200501184208.2529cac8081a34de0b48617f@kernel.org> <75fc65c3-a639-41cf-0a10-554e632e9612@kernel.org> X-Mailer: Sylpheed 3.5.1 (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 Fri, 1 May 2020 08:25:50 -0600 shuah wrote: > On 5/1/20 3:42 AM, Masami Hiramatsu wrote: > > On Wed, 19 Feb 2020 20:39:41 +0900 > > Masami Hiramatsu wrote: > > > >> On Wed, 19 Feb 2020 09:33:30 +0000 > >> Alan Maguire wrote: > >> > >>> Currently, ftracetest will return 1 (failure) if any unresolved cases > >>> are encountered. The unresolved status results from modules and > >>> programs not being available, and as such does not indicate any > >>> issues with ftrace itself. As such, change the behaviour of > >>> ftracetest in line with unsupported cases; if unsupported cases > >>> happen, ftracetest still returns 0 unless --fail-unsupported. Here > >>> --fail-unresolved is added and the default is to return 0 if > >>> unresolved results occur. > >>> > >> > >> OK, this looks good to me. One note, with this change, ftracetest doesn't > >> fail even if your test environment is not well prepared anymore. > >> > >> Acked-by: Masami Hiramatsu > > > > Hi Shuah, > > Could you pick this up? > > > > Po-Hsu Lin seemed to face same problem recently. If this applied, it will be solved. > > > > Sorry about this. I will get these in Thanks Shuah! > > thanks, > -- Shuah -- Masami Hiramatsu