Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp111838lqm; Mon, 10 Jun 2024 14:40:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVnYkxIgW8sbEmr+vxl37WqgrBL7QUjLrBdGG3N6XBweES5Agdk8SS1XepDnlBxKr5PJjdy6eQK2SSYYOfFn+6rLjdlzXuMfxFm83fYvQ== X-Google-Smtp-Source: AGHT+IFMmdHb0WLCxJpnejA+ukPl5SDi0CDOZbcXjTLejudHi8EMpQz67+4qlnwNLnhuCh1OO36w X-Received: by 2002:a05:6a20:2452:b0:1af:f514:6d96 with SMTP id adf61e73a8af0-1b2f97d71fbmr13704574637.16.1718055648958; Mon, 10 Jun 2024 14:40:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718055648; cv=pass; d=google.com; s=arc-20160816; b=QVGFR/ia4APoGiPdVANyG+96/LJuPX9eUmAE1/fou2gdMsrblCRSDrtruGzUTDMEpG 73guKJw9S3ifA1i3qvkDMNMeetS8y5TyudA7WUm/OMI1vcNjobQ11spWfe4ex+VCLDYc Ro8z6Aa8uDzladpuOxBzSsPFlbs7w1zT1sp52op3bwUxPpmzpJr9xIg8ZX973KJgcSlU detk6MEpDJK1/boNE1V8guWQ79jPbbc2E2NrwPJ5Vk0jHqlYAj9+HjlSqxQzcIM+oNwU sKxgajMbT3X5l9/z3JvrZ64ObPDkCRxkc7dTHivCmKWL5+ZbsVrR9rYfz03Rarz0Nb2G dbxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=jnw0tKBBG7uFgY18fxyK8ECIGqnT+kFuM2IROBi/ZP0=; fh=jWedx90aG04v81jZgAk2DtjiPjSqMS52v79a3H+odOE=; b=NW0pi/KmTAVHTuL2+2IUUChRzYIyTwXulzddXhjgeOIfQiRJNSquU7MklWp/W6v7Up znUT/VlkhQyk2dkZsQXng6BUDHxsKxByhTmMsNYKDFUpiFYmv+CVYg0kEswNmY3Qxuzp oaKcHy3gREU/igN+6RW2JU9HwwhHSZGsuHC+OXme833mmbOq6CVN7dw0BZIUCgMZn6Ln Tt7UaY+3B0DX69Awg1K0kqZxK2V8kF+jp26h/1G1bpdvM/8nxU1bAoLou4XUJqiaJcFH z7KXWBSI4ymVXQwGeVz/pA7N3ZjrcdLdUlJF0qI+JeQUFoC0maB1ifbBAfk0G5cgIOBK rlBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-208929-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208929-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de275fbab2si8448769a12.460.2024.06.10.14.40.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 14:40:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208929-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-208929-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208929-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 942EA283486 for ; Mon, 10 Jun 2024 21:40:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 327E67406D; Mon, 10 Jun 2024 21:40:42 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA9AF487AE; Mon, 10 Jun 2024 21:40:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718055641; cv=none; b=namJQv0L/RudZRv7ViCHe3n3+NdkWHoCPphcCAzvNLhlXlT0tEXSJ/72OWbs+KeT8l9Z+WZQTlyEj9MwvP1MbpTXVynZvh53HRsOp/7kujw5tyrrdg9frI5juIEETV/s9Wnj+EYE+GI7U/4CYgbuGN0zTsdvJxW+12N/sctrYcI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718055641; c=relaxed/simple; bh=Ja29hFfaYkWWjl4eW9FNlAtmGWaZrLAI8SoRzcjlWmc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Eh5kDhEfH6QyTS7hKQFaZZRb58trRy3fz00eE9nyqkAgmInRwQfXRIiZkJdVW8kRNWwDFKpoiv7IKQGunFige4BejADZZ6HlxTjkOOD09P/RGvmlj7KNUUoG3uIRbotv0VAJ+yOU+sHDhuAsZClYOH42ZhqqU8U+XxB+7gpJdSs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4148C2BBFC; Mon, 10 Jun 2024 21:40:40 +0000 (UTC) Date: Mon, 10 Jun 2024 17:40:52 -0400 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: LKML , Linux Trace Kernel , Tom Zanussi Subject: Re: [PATCH 2/3] tracing/kprobe: Remove unneeded WARN_ON_ONCE() in selftests Message-ID: <20240610174052.0fd280f2@gandalf.local.home> In-Reply-To: <171805480405.52471.13982671291270977479.stgit@devnote2> References: <171805478534.52471.6269290579314514778.stgit@devnote2> <171805480405.52471.13982671291270977479.stgit@devnote2> X-Mailer: Claws Mail 3.20.0git84 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 11 Jun 2024 06:26:44 +0900 "Masami Hiramatsu (Google)" wrote: > From: Masami Hiramatsu (Google) > > Since the kprobe-events selftest shows OK or NG with the reason, the > WARN_ON_ONCE()s for each place are redundant. Let's remove it. Note, the ktests we run to validate commits, fail when it detects a WARN() triggered. If this fails in any configuration, ktest will not detect it failed. -- Steve > > Signed-off-by: Masami Hiramatsu (Google) > --- > kernel/trace/trace_kprobe.c | 26 +++++++++++++------------- > 1 file changed, 13 insertions(+), 13 deletions(-)