Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp154697lqb; Tue, 4 Jun 2024 07:45:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWOZ+XShku/Ib9s+s2299hMeLGmV1C8VWqiWjEyIGje/MRNgIOIfGBvgZyZAFRoUU/+NyRdeXo4Db+W7676zy40G1+wUzqkAdxDJUEGLA== X-Google-Smtp-Source: AGHT+IFJ4H4+A3ax9WxeYvRggGVFh/YNyxaAlXC0PzuZDXwH9OvbexdLST68l01byeC1TcPTThQy X-Received: by 2002:a05:6e02:1a8b:b0:374:9916:92 with SMTP id e9e14a558f8ab-374991603b5mr78098075ab.22.1717512354874; Tue, 04 Jun 2024 07:45:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717512354; cv=pass; d=google.com; s=arc-20160816; b=xVqd1B5a0D0Dkvil10MvRur0YcD4sVAsauhyvlbZAMjCfnJ1tYq+2SchB/0OWxmGJA FMu1Sb0LD6L8Hmen5WuPu2vN0lfpaOOxIpO9S8LYh8T8feQqBcngZ/o9e8ftdNu+5lfE DLDfYVKNEzjpITKx6ahNv0yvGRBqKOyXKvaZSWdo8azAcWvhj9ueqI3hfdqVtMI6fcoP OsXntaFAOdFUQqTq1/ykWBC+FphSEv735S05hXTiM1DSZda39N3+KezY1GPLY5rrT3/i uZMEZ3v7NUidYvn6JMldNVauCmZ++cKPiM6wi9GZDb73HiIZtVGQ38TDu4O7fhdEiAol ADkg== 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:dkim-signature; bh=hLjeFr6jqkv3sRmdxuNtgp8bzbnpEh2dL2qukivKxyU=; fh=Ns0bpPld5hjywSRyxWZyWGe/pfT5ALTpQzwSvWmir9A=; b=WbZO7ybyf/gYZNf9jUh+K+jnPO5FuQ5WgActh6srJ2K3MN6rpW32QcUzRMV+UuF9ns eL+UdaTHMIjoeYJnjh97xDHfRD1Y016vdhyhXCSS2+q5rOXvihjuhnfoSZsAN27FQzU8 UkZFgB1X3Y+n55HkAP5GFaEdY0SP0+Ftz1SbYaziOxjZxIPyv4P8MpeLknpkYDAWBrbT a5D7yE/GSP2+vOIhzONoPHHVVjnbpWvXQVZryLrkCygCE4p+cE7ThlhOLJAZv2UmEJYa PB6+U3FPI/iDRUtqC5X+DtJHi6HN8nNBG9A32uo8DoQONF5cAmw7n+7/chCztZUkBJBe W9KA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TcLUXyHJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c35d694e6asi8231973a12.887.2024.06.04.07.45.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 07:45:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TcLUXyHJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200797-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id AE0EEB24EB2 for ; Tue, 4 Jun 2024 14:18:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5480E3BB24; Tue, 4 Jun 2024 14:18:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TcLUXyHJ" 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 7C14D179AF; Tue, 4 Jun 2024 14:18:33 +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=1717510713; cv=none; b=ab9DCXtmvO0L+Z09GiPnYijuYhjAGZTXCC/J/MnFVv4n04bwwpk+MiZvTEEEy4z2a1ws/O356+KU6A45DIES+7b3V2ittQeabTBidRKQWtYQEEq337NSW94e+AzB7pF9+PnPnj5ppf2Oacv4YjIpjYb4c9VptrclBP78aYADouU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717510713; c=relaxed/simple; bh=pvPs7V3cXWF0iTPQLtBmOn4r0QtFbU+zXkNlnCR94Z0=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=O26yis7N4ZuJiKOycNeLnKUr8SUSICxGyvVPfZoAZkudHSxi8Q9ECOW2uVS7ZsnVRRqS2c3/ZSx893wYb4khK6Y/KtgE0XXQwHqahsM9IUYsAEbEBRw28ezfOmFDaIRB6igLr5rhmQgmAdjVUkgof7y0xMbXz+ukGMzQ/skpejE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TcLUXyHJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A8FF3C32786; Tue, 4 Jun 2024 14:18:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717510712; bh=pvPs7V3cXWF0iTPQLtBmOn4r0QtFbU+zXkNlnCR94Z0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TcLUXyHJDe0+47voJSe8NWV+gi7KKtVnk990WzJKPVnnTGUzmXMsqzgj/Ln05kBeR cypi6Dx8RrUbmuy11i/vwPc9T9Jay7ZipYwhJBzhJB8To/dCAp+bHFx4wtcvDGCtpL riH1koHSM7xhuEeh90WRHLjnpcUPG3lXJsgoATkJmFDlhDx5MyxD7SwfIGfn9y0KWw ZCU6DzqANLDnZZoKV0nAwM217CczrH6VT/+Woe6f6fG4gg/Pii53AVl7At+nDpYy4O 8PJy4zCq0ikmMN/hiAH4zlowebcBBYOk/3tIBhCkOI3XAxX8Uiy1/0hMk6eMXjbke3 R+W3D8DNgpB8g== Date: Tue, 4 Jun 2024 23:18:29 +0900 From: Masami Hiramatsu (Google) To: Steven Rostedt Cc: Tom Zanussi , LKML , Linux Trace Kernel Subject: Re: [PATCH 0/3] tracing: Fix some selftest issues Message-Id: <20240604231829.16b49c8868d310bcdcd78cab@kernel.org> In-Reply-To: <20240604095746.1bbb003c@gandalf.local.home> References: <171671825710.39694.6859036369216249956.stgit@devnote2> <20240527192907.49c9220f@rorschach.local.home> <20240529014640.3a04f7301f12eb44738f9f2d@kernel.org> <20240529083818.b7835de167191d4567405ce6@kernel.org> <3a7e679712fb47b6c75af84163b5d3ea252f4da9.camel@linux.intel.com> <20240531113721.c0314e0cdb3beb70c1a6ba7d@kernel.org> <20240531032425.3635dc93@rorschach.local.home> <20240531232047.fca5712a98e360d4a27fd92c@kernel.org> <20240604095746.1bbb003c@gandalf.local.home> X-Mailer: Sylpheed 3.7.0 (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, 4 Jun 2024 09:57:46 -0400 Steven Rostedt wrote: > On Fri, 31 May 2024 23:20:47 +0900 > Masami Hiramatsu (Google) wrote: > > > The major conflict happens when the boot-time test cleans up the kprobe > > events by > > > > dyn_events_release_all(&trace_kprobe_ops); > > > > And I removed it by [3/3] patch in this series :) because it does not > > needed and not confirmed there is no other kprobe events when the test > > starts. Also the warning message are redundant so I removed it by [2/3]. > > > > So without this [1/3], if we apply [2/3] and [3/3], the problem will be > > mitigated, but I think the root cause is that these modules are built-in. > > I'm OK with making them module only, but I don't see any selftests for > sythetic events. I think they should have a boot up test as well. If we > remove them, let's add something to test them at boot up. Then the boot up > code could clean it up. > > Or change the test module to be a boot up test that cleans itself up if it > is compiled in as not a module? Yeah, I think we may need another test code for synthetic events, which also triggering the synthetic events. BTW, some these bootup tests can be ported on KUnit. Do you have a plan to use KUnit? Thank you, > > -- Steve > -- Masami Hiramatsu (Google)