Re: [PATCH v2 11/11] lockdep,trace: Expose tracepoints
From: Guenter Roeck
Date: Thu Sep 03 2020 - 14:11:58 EST
On 9/3/20 8:36 AM, peterz@xxxxxxxxxxxxx wrote:
> On Thu, Sep 03, 2020 at 08:19:38AM -0700, Guenter Roeck wrote:
>> This doesn't compile for me - there is no "name" parameter in __DO_TRACE().
>>
>> Error log:
>> In file included from ./include/linux/rculist.h:11,
>> from ./include/linux/pid.h:5,
>> from ./include/linux/sched.h:14,
>> from ./include/linux/sched/numa_balancing.h:10,
>> from ./include/trace/events/sched.h:8,
>> from kernel/sched/core.c:10:
>> ./include/trace/events/sched.h: In function 'trace_sched_kthread_stop':
>> ./include/linux/tracepoint.h:175:26: error: '__tracepoint_name' undeclared
>>
>> I applied your patch on top of v5.9-rc3-75-gfc3abb53250a. Are you using
>> a different branch ?
>
> Argh, I was on tip/master... easy fix though.
That version silences the tracebacks on arm. I can't test on real hardware,
so I don't know if it also fixes the problem reported at [1] (which seems
related).
Guenter
---
[1] https://lore.kernel.org/lkml/CA+G9fYuiJwN1ad955Xw4ShamX2=373r+56KsbpeverEs+i_NAg@xxxxxxxxxxxxxx/t/#u