Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2327901lqb; Mon, 27 May 2024 16:29:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUlAm0/PZck5BVAm5dh/Ept557x+JYtgmVDwGhg6Q/cXwiaRtjVdTlUtJliyFLWzP1+qJCwso7vbKVc03cT0J+Dj+h3uuf7JQhA8mMonQ== X-Google-Smtp-Source: AGHT+IFWBCIB/OHtMrHLIs/IAzmayUDLG2xIH5kbezwGxIGblWe8OxtvtbkCB560mWgoJ4qOOW0N X-Received: by 2002:a5d:4ed2:0:b0:354:e021:51c6 with SMTP id ffacd0b85a97d-35526c39f7cmr7360246f8f.29.1716852558120; Mon, 27 May 2024 16:29:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716852558; cv=pass; d=google.com; s=arc-20160816; b=L2zdaqVADcLV+QC5OtYyOBjlWZMQSVVPNywC4HmCeYc5x7TQKbBMTyF/fkN4qS9Z63 Ga3L6UAjvuV4RWfxWybNVZzqSMYiXqp49lJhX38Hn/mDmQsD5D01Dcsz/bIHagQPyOd7 pk1JI/t6rj7foZQkbHJQyD4hKWhvYqKYBgv+CGlYxmYSpYZFZjYCtXwVfYUQPPy2ENY7 XqHTopgp8pAs9aUCD/OlZovDg0uq3Q64/iUPi+IRkdP4qa6NMy8jHvNO712iKq1F3B5J sZZ/+oNRLBMIvlzsXB5h5EO6FCZBx2VrsmADWywQ8Ajz65w/Y4XRHZ5BeqepU37GvYiU O9cw== 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=xZC6cdWMvOgqefZ8rS98y2Q+JWIRQjMkWGx7t7eqipw=; fh=jWedx90aG04v81jZgAk2DtjiPjSqMS52v79a3H+odOE=; b=K0TdVxZjYS0gfq+lKvDG63fJmVnOzpEmDV8P7gAITHzzd3f9F+pk4uh5m0XJqxLQXK wlYLzmhT6aUmsVMw1KjJouFPRu28jZf5a8f+317ndB6HMNROpSZpnbYMsI1caABXWjOa r5azd46iDxF24mz7EhFJcXNV/ps5NHnVPPwRWAn+5I8aXkezqXdb3PS1eSp7l8E3keky ngFMGM5R9bBcH/UvHjsF8479fXyTJhhP0iiC67mLyHoKxAQlOFlEXca93yHmnh9GTvVF 2qfuwzb6vekSYfZbwDgi7xbvS96zCWlb4ZGsNIXI57Hp05uhK41ZC/lm8g2kvAOamWmi rgbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-191511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191511-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a630d14e254si110653166b.917.2024.05.27.16.29.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 16:29:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-191511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191511-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D225C1F220F8 for ; Mon, 27 May 2024 23:29:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 655DC16728A; Mon, 27 May 2024 23:29:11 +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 DD21733C8; Mon, 27 May 2024 23:29:10 +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=1716852550; cv=none; b=WmyJSHCUkm6KdAiXn3w0mRg+z6TnrTFKq0pK8BhfMYMGhHd/a+R7R5NX32xQLz6fGRIQTOfTA9ir1Gh+J3xhHHI2SXyyXbmBbv8KXa1o15RUiWPkSFBHMiHIwVuqeXbYIMB+r0/ue6FeWM5fEQnfBv5jqnThtD6WD2mpn2Bl4SU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716852550; c=relaxed/simple; bh=rjLg2LgiEkRoeNsn3CNZc8/LZBGXGzj+L03bkFhBtbI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uNIb5yA3GyT3bM87Kc01GX32TKNyMZDxYlcnZPf6w0Pdye6HMlmVwsEZEIk9+gxdmGW0X9EeBnpcFAlGkoTxvlk9x7PVoV9uCCy6OgnpZtZBeiTymQyoyD0on9DVpLEJKPNNhej0AVLkcwPDL3DmNF0vzOeVNt0CBN8khURPQZY= 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 ACE13C2BBFC; Mon, 27 May 2024 23:29:09 +0000 (UTC) Date: Mon, 27 May 2024 19:29:07 -0400 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: LKML , Linux Trace Kernel , Tom Zanussi Subject: Re: [PATCH 0/3] tracing: Fix some selftest issues Message-ID: <20240527192907.49c9220f@rorschach.local.home> In-Reply-To: <171671825710.39694.6859036369216249956.stgit@devnote2> References: <171671825710.39694.6859036369216249956.stgit@devnote2> X-Mailer: Claws Mail 3.17.8 (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 Sun, 26 May 2024 19:10:57 +0900 "Masami Hiramatsu (Google)" wrote: > 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. Note, when I enable trace tests as builtin instead of modules, I just disable the bootup self tests when it detects this. This helps with doing tests via config options than having to add user space code that loads modules. Could you do something similar? -- Steve > > 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 >