Messages in this thread | | | From | Sonny Rao <> | Date | Tue, 12 Jul 2011 14:19:09 -0700 | Subject | Re: [PATCH] [RFC] perf: robustify proc and debugfs file recording |
| |
On Tue, Jul 12, 2011 at 2:15 PM, Sonny Rao <sonnyrao@chromium.org> wrote: > While attempting to create a timechart of boot up I found > perf didn't tolerate modules being loaded/unloaded. This patch > fixes this by reading the file once and then writing the size > read at the correct point in the file. It also simplifies the > code somewhat. > > Signed-off-by: Sonny Rao <sonnyrao@chromium.org> > ---
Anton or Paul, I cc'ed you hoping you could give this a try on a big-endian box. There's some IMO less than pleasant code to make sure it handles big-endian correctly, that I wasn't able to test.
Thanks Sonny -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |