From: Steven Rostedt <rostedt@goodmis.org>
To: "Wysocki, Rafael J" <rafael.j.wysocki@intel.com>
Cc: Linux Trace Kernel <linux-trace-kernel@vger.kernel.org>,
"Mario Limonciello (AMD)" <superm1@kernel.org>,
Eiichi Tsukata <eiichi.tsukata@nutanix.com>,
Julia Lawall <Julia.Lawall@inria.fr>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] cpuidle: haltpoll: Only define guest_halt_poll_ns tracepoint when used
Date: Thu, 22 Oct 2026 16:00:34 -0400 [thread overview]
Message-ID: <20261022160034.701ae74d@gandalf.local.home> (raw)
In-Reply-To: <ae46d1e7-6e49-405c-b4ba-9f659f5fdab3@intel.com>
On Thu, 22 Oct 2026 21:54:09 +0200
"Wysocki, Rafael J" <rafael.j.wysocki@intel.com> wrote:
> On 10/22/2026 9:33 PM, Steven Rostedt wrote:
> > From: Steven Rostedt <rostedt@goodmis.org>
> >
> > Tracepoints that are defined take up around 5K each, even if they are not
> > used. When a tracepoint is used only in code when a specific config is
> > enabled, their definition must also be only defined when the same config
> > is enabled otherwise it wastes memory.
> >
> > The tracepoint guest_halt_poll_ns is only used when CONFIG_CPU_IDLE_GOV_HALTPOLL
> > is enabled. Guard the definition of that tracepoint with the same config.
> >
> > Fixes: 0da11bf0cab90 ("cpuidle: haltpoll: Add trace points for guest_halt_poll_ns grow/shrink")
> > Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
>
> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> Thanks!
Want me to take this through my tree, or do you want to take it?
-- Steve
next prev parent reply other threads:[~2026-10-22 20:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 19:33 Steven Rostedt
2026-10-22 19:54 ` Wysocki, Rafael J
2026-10-22 20:00 ` Steven Rostedt [this message]
2026-10-22 20:02 ` Wysocki, Rafael J
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261022160034.701ae74d@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=Julia.Lawall@inria.fr \
--cc=eiichi.tsukata@nutanix.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=superm1@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®