Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1481640lqb; Sun, 26 May 2024 03:11:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqz/2VEpEnsAbZFCluIuZYOZB3BFwOSMPCTwdmwNPJoFxdL427n7zSGsGZ5imOyEvltxr1P+rTLO0Jd38zcWXs1wcMlUbiAWQIKbv8nw== X-Google-Smtp-Source: AGHT+IF5kGeO/eoen+SywcVa0s95kUEwtGIhvQ2on6LwpZ0N9AwLa5dl5ME0v8Vj/10fHmtlEJKt X-Received: by 2002:a05:620a:7284:b0:792:776e:8a46 with SMTP id af79cd13be357-794ab114992mr751087785a.47.1716718268373; Sun, 26 May 2024 03:11:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716718268; cv=pass; d=google.com; s=arc-20160816; b=x7mcnFgGrO+O3uk+qr3wWNpuDcElUo0eMtxFdxoTAEAMMTKLainPSmBe2TTNhiMlim eq/FatqicK4/SwAq6RXNMvnuMZs1sW9tBtwqH2hQzOdhrYvAKUi18FUtOC++1V7LNRzQ nwtVwiGYqy5LazHiWSKA8gqoE+vMg5vCdACtM/QXPrAGnnI6VuUzRyFk1nXjUilt4tSN Zs1mLcgz0R9CDleGdJgeA6AYEdDh8DYpZJUasHXG9nRVYzEtDm7ElLTnbU8x2AGYzPCX suHOp1gDzDABhaIjxzc/2rZtNouEBjj8ErB7cCLosYVZaZUp8Zk01haAxRcuc5RJPo8f +D8Q== 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:user-agent:message-id:date :subject:cc:to:from:dkim-signature; bh=0nwLtHbRW1jUnJXFe6c0q1EowNdhIAVcZeDIsRzut+4=; fh=OXmnF2IabCVhttS9M0uF5EzWe+EI+vV+JgHilYyZTJA=; b=rfGgOJavrO4ulDLh0sB/XYJzY2Rs/TlT7GmJBjMzb95hSJ+82i8OIRGK/0UcH7HBQc SWzYHAth42I3IWdV5wcL65LAY5K8k6fWrbksYzxBOdfTty+CjSMFsPAj6gn0iXhISaDI APoNpY5E2AGV9FpYXRjbgwO1vAYsCAxD1OHwL46fHhxn9UNW5XupFfl07rHDhMjSFQpx FvAlvxFE9bxYJIjiwkFvLvCUUdT90UiuWGk+SPzWKNEu0eFFcqTOJ/5MeypvVmBbKlS2 wHLxtNYVw/7rkagwQLDQ5ipiQjjaF8M2UOV1FoDCXm79P3xNQO1leO6uv1NMsn2Sno9e 39NA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dkp81Olt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-189707-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189707-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd0b1f4si548682085a.317.2024.05.26.03.11.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 03:11:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189707-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dkp81Olt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-189707-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189707-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EC78F1C211BC for ; Sun, 26 May 2024 10:11:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F034AD5B; Sun, 26 May 2024 10:11:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dkp81Olt" 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 33079944D; Sun, 26 May 2024 10:11:00 +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=1716718261; cv=none; b=q1XmFzZgKT1DOnMGNvp30VOR3dmw45cKZ+SeaEuj7nnEG1OAwct6KgPVquY7+SSPZHItdVjPGfNhiDdQxQ5NRdyIhJ4wxe1buwzusx87xlUGTJeJrKFEHZwoVgBXWPnRmXYHBkJL22zzD6LxJ95rRY8OhfsjEj8WMoxZL6DLH6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716718261; c=relaxed/simple; bh=sYzAz15/z8faKs1VYVEOVSprSAaIaPmv/HsJiqwELDw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=ApVQzD/grO2TAO3EswoE7P81NufN7TQYqZG9IQtfnD7hMjI6hMZhL4e9tWi+0CeZQoWeDofmdKZagS/lRl4+cEwpPdfSP3VmlN47GimMB1BZxHG4P9h965KSL1uIjD4d62zz6vWmutXBT/jOZ34TDdCSElAIBzTuytvukNpcjng= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dkp81Olt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 724D2C2BD10; Sun, 26 May 2024 10:10:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716718260; bh=sYzAz15/z8faKs1VYVEOVSprSAaIaPmv/HsJiqwELDw=; h=From:To:Cc:Subject:Date:From; b=dkp81OltoVClOmVRjStYBulaO3MDzGMQsP3SM5sLcQCp4Nql9futT7xmJA4cb7Nub LgWxUaHAdadCzRB8LXOAjaDh5/qZX0eiiMe80EPsz7xrVyFTL3uBP0W+s8SOs0OoJw SvPtYuJHcO+drKGSg99X/D7aBEA+D0qwi6fzwjedeG4O0veWQGse1/pPPLPMs1MRlt oBog3W5kdnSAw0nDmfRVTnLzjLC2jAEE020/bjbSBI8sPReFXjXlrJFJowr4bBD4/D mDSNRgnVBQREPcX04+FZpaB+c+/miRdFHQP2qL3EyPDJnBcnlwDQOqmo3hAf2DUpbc 5K37UEGEs5X3g== From: "Masami Hiramatsu (Google)" To: Steven Rostedt Cc: LKML , Linux Trace Kernel , Masami Hiramatsu , Tom Zanussi Subject: [PATCH 0/3] tracing: Fix some selftest issues Date: Sun, 26 May 2024 19:10:57 +0900 Message-Id: <171671825710.39694.6859036369216249956.stgit@devnote2> X-Mailer: git-send-email 2.34.1 User-Agent: StGit/0.19 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="utf-8" Content-Transfer-Encoding: 8bit Hi, Here is a series of some fixes/improvements for the test modules and boot time selftest of kprobe events. I found a WARNING message with some boot time selftest configuration, which came from the combination of embedded kprobe generate API tests module and ftrace boot-time selftest. So the main problem is that the test module should not be built-in. But I also think this WARNING message is useless (because there are warning messages already) and the cleanup code is redundant. This series fixes those issues. Thank you, --- Masami Hiramatsu (Google) (3): tracing: Build event generation tests only as modules tracing/kprobe: Remove unneeded WARN_ON_ONCE() in selftests tracing/kprobe: Remove cleanup code unrelated to selftest kernel/trace/Kconfig | 4 ++-- kernel/trace/trace_kprobe.c | 29 ++++++++++++----------------- 2 files changed, 14 insertions(+), 19 deletions(-) -- Masami Hiramatsu (Google)