Re: [PATCH] perf tools: fix write_event()

From: Peter Zijlstra
Date: Wed Jan 20 2010 - 08:43:19 EST


On Wed, 2010-01-20 at 21:34 +0800, Xiao Guangrong wrote:
> We parse the event while it's read from mmap buffer in
> write_event(), but sometimes the event will straddles the
> mmap boundary, we should handle this case
>
> And if we record events(such as perf kmem/sched) for long
> times, Ctrl + C can't interrupt it just for this reason

Uhm, how why? it didn't used to know about events and just copied the
data.

--
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/