[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8bf3ddb5-e9fc-dcc9-ad7d-1677334f6386@broadcom.com>
Date: Mon, 7 Mar 2022 13:00:05 +0100
From: Arend van Spriel <arend.vanspriel@...adcom.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Ingo Molnar <mingo@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: ftrace bug
On 3/7/2022 12:26 PM, Arend van Spriel wrote:
> Hi Steven,
>
> I wanted to use FTRACE on an ARM platform and I hit the following
> warning which results in ftrace bug. This happens upon loading a module.
> Looking up the warning I suspect the branch target is too far off. The
> module is quite large and therefor not loaded in the modules section. Is
> there a way to exclude a module. In ftrace_module_init I see a check for
> !mod->num_ftrace_callsites. Is there a way to avoid creating ftrace
> callsites in a module?
Could it be accomplished by this?
CFLAGS_REMOVE_lockdep.o = $(CC_FLAGS_FTRACE)
Regards,
Arend
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4219 bytes)
Powered by blists - more mailing lists