[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] xentrace: Clear lost records when disabling tracing

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Mon, 1 Feb 2010 11:00:04 -0800
  • Delivery-date: Mon, 01 Feb 2010 11:00:47 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=wCmkx/0AHBiW2VLYFkYjw9E6AEG7+v9z1b6iUQTdb+GQLx0WwonKjEwBM30U3Ga7cW vqMrA8H2HkSngycFcE43pzlNWB5qDZadn54AMUuyzJ/FP+yME7dkPwAG+BGuzuhYfcgg GoPEq2PvqNas0+LDbc9+4A6fDFLdJT0qSpEJQ=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

This patch clears the "lost records" flag on each cpu when tracing is disabled.

Without this patch, the next time tracing starts, cpus with lost
records will generate lost record traces, even though buffers are
empty and no tracing has recently happened.

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

Attachment: 20100107-unstable-trace-clear-lost-records-on-disable.diff
Description: Text Data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.