From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVHRt-0005qN-Fd for qemu-devel@nongnu.org; Mon, 05 Nov 2012 02:50:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVHRs-0001gb-9f for qemu-devel@nongnu.org; Mon, 05 Nov 2012 02:50:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVHRs-0001gM-2Z for qemu-devel@nongnu.org; Mon, 05 Nov 2012 02:50:20 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qA57oIF8025191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 5 Nov 2012 02:50:18 -0500 From: Stefan Hajnoczi Date: Mon, 5 Nov 2012 08:50:09 +0100 Message-Id: <1352101809-4753-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH] trace: document '-' syntax for disabling events List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Stefan Hajnoczi Signed-off-by: Stefan Hajnoczi --- docs/tracing.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/tracing.txt b/docs/tracing.txt index c541133..7901409 100644 --- a/docs/tracing.txt +++ b/docs/tracing.txt @@ -139,6 +139,10 @@ having a common prefix in a batch. For example, virtio-blk trace events could be enabled using: trace-event virtio_blk_* on +If a line in the "-trace events=" file begins with a '-', the trace event +will be disabled instead of enabled. This is useful when a wildcard was used +to enable an entire family of events but one noisy event needs to be disabled. + == Trace backends == The "tracetool" script automates tedious trace event code generation and also -- 1.7.12.1