LKML Archive on
help / color / mirror / Atom feed
From: Lukas Bulwahn <>
To: "Steven Rostedt (VMware)" <>
	Linux Kernel Mailing List <>,
	Ingo Molnar <>,
	Josh Poimboeuf <>,
	Petr Mladek <>,
	Joe Lawrence <>,
	Jiri Kosina <>, Miroslav Benes <>,
	kernel-janitors <>
Subject: Reference to non-existing DYNAMIC_FTRACE_WITH_ARGS
Date: Fri, 6 Aug 2021 12:18:36 +0200	[thread overview]
Message-ID: <> (raw)

Hi Steven,

Commit 2860cd8a2353 ("livepatch: Use the default ftrace_ops instead of
REGS when ARGS is available") adds a dependency on a non-existing
config DYNAMIC_FTRACE_WITH_ARGS, see diff:

diff --git a/kernel/livepatch/Kconfig b/kernel/livepatch/Kconfig
index 54102deb50ba..53d51ed619a3 100644
--- a/kernel/livepatch/Kconfig
+++ b/kernel/livepatch/Kconfig
@@ -6,7 +6,7 @@ config HAVE_LIVEPATCH

        bool "Kernel Live Patching"
-       depends on DYNAMIC_FTRACE_WITH_REGS
        depends on MODULES
        depends on SYSFS
        depends on KALLSYMS_ALL

Did you intend to depend on the existing "HAVE_DYNAMIC_FTRACE_WITH_ARGS" here?

Or did you intend to add a new config DYNAMIC_FTRACE_WITH_ARGS
analogously to DYNAMIC_FTRACE_WITH_REGS as defined in
./kernel/trace/Kconfig (see below)?

        def_bool y
        depends on DYNAMIC_FTRACE

I am happy to provide a patch, once I understand what was intended here.


             reply	other threads:[~2021-08-06 10:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 10:18 Lukas Bulwahn [this message]
2021-08-06 13:22 ` Steven Rostedt

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: Reference to non-existing DYNAMIC_FTRACE_WITH_ARGS' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).