Re: [PATCH] [RFCv2] perf: robustify proc and debugfs file recording

From: Steven Rostedt
Date: Wed Jul 13 2011 - 22:58:10 EST


On Wed, 2011-07-13 at 17:40 -0700, Sonny Rao 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.
>

I get this:

cc1: warnings being treated as errors
util/trace-event-info.c: In function âread_header_filesâ:
util/trace-event-info.c:221: error: unused variable âsizeâ
util/trace-event-info.c: In function âcopy_event_systemâ:
util/trace-event-info.c:255: error: unused variable âsizeâ
make: *** [/tmp/build/util/trace-event-info.o] Error 1

-- Steve


> Signed-off-by: Sonny Rao <sonnyrao@xxxxxxxxxxxx>
> Signed-off-by: Michael Neuling <mikey@xxxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/