[libvirt] [PATCH] perf: Prevent enabling of already enabled perf event
John Ferlan
jferlan at redhat.com
Thu Jan 26 20:24:33 UTC 2017
On 01/24/2017 04:12 AM, Nitesh Konkar wrote:
> Currently, on every --enable perf_event command,
> a new event->fd is created and counting of perf
> event counter starts from zero and previous
> event->fd is lost. This patch prevents this
> behaviour.
>
> Signed-off-by: Nitesh Konkar <nitkon12 at linux.vnet.ibm.com>
> ---
> src/util/virperf.c | 3 +++
> 1 file changed, 3 insertions(+)
>
ACK and pushed,
John
More information about the libvir-list
mailing list