This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: synchronize_rcu
That sounds reasonable. Does it seem to work? If so, please send us a
patch and we'll include it.
On Thu, Oct 5, 2017 at 11:08 AM, Roman Savchenko <gmstima@gmail.com> wrote:
> Hi All,
>
> I'm using kernel based on some PREAMT_RT patches (4.1.15-rt17). This kernel
> does not provide synchronize_rcu in Modules.symver, that triggers an error:
> "No implementation for stp_synchronize_sched!". But it provides
> rcu_synchronize_sched. I found in kernel code such define:
>
> ./include/linux/jrcu.h:#define synchronize_rcu
> rcu_synchronize_sched
>
> So I did the same:
>
> output_exportconf(s, o, "rcu_synchronize_sched",
> "STAPCONF_SYNCHRONIZE_RCU");
>
> Am I correct?
>
> Many thanks,
> Roman Savchenko
--
David Smith
Principal Software Engineer
Red Hat