Messages in this thread | | | Date | Wed, 10 Aug 2011 09:06:52 -0400 | From | Don Zickus <> | Subject | Re: [PATCH v5 2/2] Output stall data in debugfs |
| |
On Tue, Aug 09, 2011 at 05:22:43PM -0700, Alex Neronskiy wrote: > From: Alex Neronskiy <zakmagnus@chromium.com> > > Instead of using the log, use debugfs for output of both stall > lengths and stack traces. Printing to the log can result in > watchdog touches, distorting the very events being measured. > Additionally, the information will not distract from lockups > when users view the log. > > A two-buffer system is used to ensure that the trace information > can always be recorded without contention.
This looks like it can work. I'll try to play with it today. Can I ask that you add some comments to document the way the buffers work, so others know what is going on to.
Cheers, Don
| |