Could give me some guideline on how to locate the source code of the xenomai system calls.

Richard Weinberger richard.weinberger at gmail.com
Thu Apr 16 16:22:59 CEST 2020


On Thu, Apr 16, 2020 at 4:08 PM 孙世龙 <sunshilong369 at gmail.com> wrote:
>
> >>      What puzzled me is that i could not locate the corresponding source
> >> code.
> >>
> >>    For example.
> >>     The log to locate the system call named as cobalt_sched_yield.
> > >    $ grep -inr cobalt_sched_yield
>
> >Grep for COBALT_SYSCALL and sched_yield.
> >Richard
>
>       I am glad to hear from you.
>       Thank you for your prompt reply.
>
>       It does not work well.
>       For detials, see below.
>
>       ~/linux-4.9.38$   grep -nr COBALT  |  grep  sched_yield

-R, not -r. You have to follow symlinks.
Or just work in the xenomai source dir.

-- 
Thanks,
//richard



More information about the Xenomai mailing list