lkml.org 
[lkml]   [2011]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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/

\
 
 \ /
  Last update: 2011-07-12 23:21    [W:1.647 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site