Re: what is trace_sched_kthread_stop_ret used for?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



hi Richard :

2011/12/29 Townsend, Richard <Richard.Townsend@xxxxxxxxxxxxx>:
> 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,

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux