[PATCH 3/5] perf tool: Ensure single disable call per event in record comand

2012-11-12 Thread Jiri Olsa
It's possible we issue the event disable ioctl multiple times until we read the final portion of the mmap buffer. Ensuring just single disable ioctl call for event, because there's no need to do that more than once. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo

[PATCH 3/5] perf tool: Ensure single disable call per event in record comand

2012-11-12 Thread Jiri Olsa
It's possible we issue the event disable ioctl multiple times until we read the final portion of the mmap buffer. Ensuring just single disable ioctl call for event, because there's no need to do that more than once. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford