Re: [PATCH 2/2] perf scripts: Fix rwtop record script

From: David Ahern
Date: Tue Feb 05 2013 - 11:15:29 EST


On 2/5/13 9:05 AM, Jiri Olsa wrote:
Adding -D option into the rwtop record command line, to get
immediate response when there's event in the buffer.

Seems like this will dramatically increase CPU usage of perf-record as well as increase the overhead of each event with a process wakeup. How about a poll option on perf-record to have it wake up at a given rate instead?

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