This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: kernel crash when probe context_switch function
- From: Martin Hunt <hunt at redhat dot com>
- To: "Mao, Bibo" <bibo dot mao at intel dot com>
- Cc: "systemtap at sources dot redhat dot com" <systemtap at sources dot redhat dot com>
- Date: Wed, 23 Nov 2005 01:31:15 -0800
- Subject: Re: kernel crash when probe context_switch function
- Organization: Red Hat Inc
- References: <9FBCE015AF479F46B3B410499F3AE05B0897CF@pdsmsx405>
See http://sources.redhat.com/bugzilla/show_bug.cgi?id=1564
To be safe in ALL possible places, I'm changing the IO code to simply
write the data to a buffer and set a flag. (This is what oprofile does.)
Once I finish with some buffering changes, I'll get that checked in.
Until then, avoid IO in scheduler functions.
Martin