This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

which function is instrumentable?


Hi,

I tried to trace down every function in a device driver, but it fails.
It may be cased too many instrumentation. But the problem is how can I
know which function is instrumentable and which is not? Or I have to
manually narrow the problem? Any idea?

Thanks,
Zhiwei

Error msg:
bad: scheduling from the idle thread!
Pid: 0, comm: swapper Tainted: G        W   2.6.35 #8
Call Trace:
 [<c102562d>] ? dequeue_task_idle+0x1d/0x30
 [<c102ae12>] ? dequeue_task+0x42/0x60
 [<c102ae4d>] ? deactivate_task+0x1d/0x30
 [<c14304ff>] ? schedule+0x25f/0x650
 [<c1432dd6>] ? apic_timer_interrupt+0x2a/0x30
 [<c16000d8>] ? addrconf_init+0x49/0x147
 [<c1001c61>] ? cpu_idle+0x51/0x70
 [<c15d48a7>] ? start_kernel+0x2c4/0x2ca
 [<c15d441f>] ? unknown_bootoption+0x0/0x192
bad: scheduling from the idle thread!
Pid: 0, comm: swapper Tainted: G        W   2.6.35 #8
Call Trace:
 [<c102562d>] ? dequeue_task_idle+0x1d/0x30
 [<c102ae12>] ? dequeue_task+0x42/0x60
 [<c102ae4d>] ? deactivate_task+0x1d/0x30
 [<c14304ff>] ? schedule+0x25f/0x650
 [<c1432dd6>] ? apic_timer_interrupt+0x2a/0x30
 [<c16000d8>] ? addrconf_init+0x49/0x147
 [<c1001c61>] ? cpu_idle+0x51/0x70
 [<c15d48a7>] ? start_kernel+0x2c4/0x2ca
 [<c15d441f>] ? unknown_bootoption+0x0/0x192


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]