Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp112801lqm; Mon, 10 Jun 2024 14:43:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVLuzXYRtAi/CqiaBUyGLV1XEL5bkLmcM/DEd6/LM0Rl+G7UOsrh4/8y1U5J5BVmd3qnN4wr2/NokbGYU/MmYs9hIESG69maeBMCzGonQ== X-Google-Smtp-Source: AGHT+IGI5fl8vKq2sqPxOd61bqGULgUS4iz6oZxYFXpxnQLuG+yyTZkG/gw0f0lwS2z68ZSoKEif X-Received: by 2002:a05:6a00:2e99:b0:704:36e7:864b with SMTP id d2e1a72fcca58-70436e78bc3mr5658837b3a.2.1718055805405; Mon, 10 Jun 2024 14:43:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718055805; cv=pass; d=google.com; s=arc-20160816; b=bL8lJzhGO7JtlDRO/2RVR5YaqjCIXcnspwz6VVkNhnR+e6C0g9+s99WWTgS+gPghEY UHpQU8mgDlsznpvJcGC3y93ArZYobq9QctuwgAfJGmabKYf3Kj1KwEn8TMHyZ0bj9eCH JF2rCCsAwq7cEc3+/FnTw6A4vhgE+s6Puk7Lamw3lhyHe7TbPVUJNsrz5/9a1IwCar3t 6kc93H7bmvkT/3KBpcVtC+z1TB0k0YVlPrJ3w9dyofKAe0c85Xgltl7/16hddj6YykZ9 34ajGYWyOybpZSTdEQXKZri+s6RwY4bV7tLEeFTYY09V0hmjBcVlcSNIng5bXGKI/Reu Qdiw== 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=B+gvexCTfX8aUonD+PAAonvp0H3IPGpQUUtNRGZZpRc=; fh=jWedx90aG04v81jZgAk2DtjiPjSqMS52v79a3H+odOE=; b=s5CsOOfK6fDQantNu1XeJtDsh6kkNw0gGOAqmFJgDxFDtjm50eHORO3Xc0jyYTAemz GXk2MFOeO9n7FKnPYH76M6g9VR2BOJ7RFr9QoNcuX7lTmVBU6Yq+mOcF6h/KUY/Cxzaw 0iU8IgEr3r1rGCRDA+02pRZ1e4/i6ObeaxeNITtwAIY2lS0/L55qHm9SMz2PrHW/r3Mq ias3FMs9phlLE22eJtK1PFX4Ota/ZWgLE4rvOmFgEHxNwX210QD2w+4kvXTml8WlfQeW XHQtKa9wFJeIMsbPj4/JMPLhRsmFc1KnrYgKwaKA+NQLGa5ZcgQ7olWEqQ5V1HFmAY6t Hxpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-208931-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208931-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-7041cde9732si4750246b3a.190.2024.06.10.14.43.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 14:43:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208931-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-208931-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208931-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A707CB21D1F for ; Mon, 10 Jun 2024 21:42:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 84DE4745D5; Mon, 10 Jun 2024 21:42:22 +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 0CE255588B; Mon, 10 Jun 2024 21:42:22 +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=1718055742; cv=none; b=h7VKuxlYkE3KFU3ILgzZ+a2FGvxCuuGPMYCGXbq8oJ+EuaSf4r713Rj8f73/K5TNLUdWIVGTPJp/AoMdgumEajuWIxactWN3JPAtPI8Y8z61I+Y6zwr5rKUw2WYFFzEqPTlTwlfcjsZLMP8kV0d1sX0cG/X28fdIFglaTDpcxCA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718055742; c=relaxed/simple; bh=eXTyBhBShucN1cEt9swmerSYcLuvMKcIKFBCAgG/+LQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eW09yKmqoWulC3Cz+zVJmwHnwFp3kRC9ckCJA+cUPRA+oDM0NfCn/F+sGi1K6jRvL0T7QSub/kUDGExhB+a+J6lnh1o8PrDGyxGxSmvdfLi+LbwciZNMEKugWRI9MBsPc6w3qz9BCmPSyoPX1Rm2YQfHxziqiloqwtOKYPNjowE= 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 C6BD7C2BBFC; Mon, 10 Jun 2024 21:42:19 +0000 (UTC) Date: Mon, 10 Jun 2024 17:42:32 -0400 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: LKML , Linux Trace Kernel , Tom Zanussi Subject: Re: [PATCH 1/3] tracing: Build event generation tests only as modules Message-ID: <20240610174232.307c2cf6@gandalf.local.home> In-Reply-To: <171805479486.52471.17705516519375193975.stgit@devnote2> References: <171805478534.52471.6269290579314514778.stgit@devnote2> <171805479486.52471.17705516519375193975.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:34 +0900 "Masami Hiramatsu (Google)" wrote: > The kprobes and synth event generation test modules add events and lock > (get a reference) those event file reference in module init function, > and unlock and delete it in module exit function. This is because those > are designed for playing as modules. > > If we make those modules as built-in, those events are left locked in the > kernel, and never be removed. This causes kprobe event self-test failure > as below. Reviewed-by: Steven Rostedt (Google) -- Steve