RE: what is trace_sched_kthread_stop_ret used for?

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

 



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

-----Original Message-----
From: kernelnewbies-bounces@xxxxxxxxxxxxxxxxx [mailto:kernelnewbies-bounces@xxxxxxxxxxxxxxxxx] On Behalf Of loody
Sent: 28 December 2011 13:23
To: kernelnewbies@xxxxxxxxxxxxxxxxx
Subject: what is trace_sched_kthread_stop_ret used for?

Dear all:
i saw there is a function called "trace_sched_kthread_stop_ret" in some place of kernel.
but I found it is empty function.
http://lxr.linux.no/linux+v3.1.5/+code=trace_sched_kthread_stop_ret

if it is empty, why we still keep it in kernel?

--
Regards,

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



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux