what is trace_sched_kthread_stop_ret used for?

loody miloody at gmail.com
Thu Dec 29 09:36:54 EST 2011


hi Richard :

2011/12/29 Townsend, Richard <Richard.Townsend at warwick.ac.uk>:
> It appears to be a macro defined in include/trace/events/shed.h.
>
>  35 TRACE_EVENT(sched_kthread_stop_ret,
>  36
>  37         TP_PROTO(int ret),
>  38
>  39         TP_ARGS(ret),
>  40
>  41         TP_STRUCT__entry(
>  42                 __field(        int,    ret     )
>  43         ),
>  44
>  45         TP_fast_assign(
>  46                 __entry->ret    = ret;
>  47         ),
>  48
>  49         TP_printk("ret=%d", __entry->ret)
>  50 );
>
> --
> Richard Townsend
>
Thanks for your help,



More information about the Kernelnewbies mailing list