Re: [PATCH v2 3/3] ftrace: Add sample with custom ops

From: Mark Rutland
Date: Tue Feb 07 2023 - 04:33:22 EST


On Mon, Feb 06, 2023 at 02:25:16PM -0800, Guenter Roeck wrote:
> On Tue, Jan 03, 2023 at 12:49:12PM +0000, Mark Rutland wrote:
> > + pr_info("Attempted %u calls to %ps in %lluns (%lluns / call)\n",
> > + nr_function_calls, tracee_relevant,
> > + period, period / nr_function_calls);
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Building csky:allmodconfig ... failed
> --------------
> Error log:
> ERROR: modpost: "__udivdi3" [samples/ftrace/ftrace-ops.ko] undefined!

Arnd sent a fix for this a week ago:

https://lore.kernel.org/lkml/20230130130246.247537-1-arnd@xxxxxxxxxx/

I believe Steve has been travelling and hasn't had the chance to pick that up
yet.

Thanks,
Mark.