xenomai.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Pierre FICHEUX <pierre.ficheux@smile.fr>
To: xenomai <xenomai@xenomai.org>
Subject: DYNAMIC_FTRACE and I-pipe patch
Date: Tue, 5 Mar 2024 00:43:46 +0100	[thread overview]
Message-ID: <CAFc1U0sy7hK6-4_BiC6npmSduU2XMJNQjBAR3GnkX9bqkW4MVg@mail.gmail.com> (raw)

Hi,

One of my customers uses a 5.4.70 kernel with an iMX8M board and a
custom I-pipe patch (with Xenomai 3.1). It looks like all the I-pipe
patches disable the DYNAMIC_FTRACE option :

diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index f3f2fc8ad81a..98d7c64b7b8f 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -532,6 +532,7 @@ config DYNAMIC_FTRACE
  bool "enable/disable function tracing dynamically"
  depends on FUNCTION_TRACER
  depends on HAVE_DYNAMIC_FTRACE
+ depends on !IPIPE
  default y
  help
   This option will modify all the calls to function tracing

That's not the case for a recent Dovetail based kernel.

Could you give me some information about such a limitation ?

Thanks in advance.

regards

-- 

Pierre FICHEUX -/- CTO Smile ECS, France -\- pierre.ficheux@smile.fr
                             http://www.smile.fr
                             https://smile.eu/fr/offres/embarque-iot
I would love to change the world, but they won't give me the source code

             reply	other threads:[~2024-03-04 23:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-04 23:43 Pierre FICHEUX [this message]
2024-03-05  1:13 ` DYNAMIC_FTRACE and I-pipe patch Chen, Hongzhan
2024-03-05  4:38   ` Pierre FICHEUX
2024-03-05  5:03     ` Chen, Hongzhan
2024-03-05  8:27       ` Pierre FICHEUX

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=CAFc1U0sy7hK6-4_BiC6npmSduU2XMJNQjBAR3GnkX9bqkW4MVg@mail.gmail.com \
    --to=pierre.ficheux@smile.fr \
    --cc=xenomai@xenomai.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).