From patchwork Fri Nov 16 13:19:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 199594 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0B3722C0091 for ; Sat, 17 Nov 2012 00:35:43 +1100 (EST) Received: from localhost ([::1]:43321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZLqO-0006e7-Di for incoming@patchwork.ozlabs.org; Fri, 16 Nov 2012 08:20:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZLpc-0004N5-6h for qemu-devel@nongnu.org; Fri, 16 Nov 2012 08:19:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZLpZ-0002Zw-3X for qemu-devel@nongnu.org; Fri, 16 Nov 2012 08:19:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:15186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZLpY-0002Zd-S5 for qemu-devel@nongnu.org; Fri, 16 Nov 2012 08:19:37 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qAGDJaXY000751 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 16 Nov 2012 08:19:36 -0500 Received: from localhost (ovpn-112-43.ams2.redhat.com [10.36.112.43]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id qAGDJYIS019220; Fri, 16 Nov 2012 08:19:35 -0500 From: Stefan Hajnoczi To: Date: Fri, 16 Nov 2012 14:19:24 +0100 Message-Id: <1353071965-19804-4-git-send-email-stefanha@redhat.com> In-Reply-To: <1353071965-19804-1-git-send-email-stefanha@redhat.com> References: <1353071965-19804-1-git-send-email-stefanha@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Stefan Hajnoczi Subject: [Qemu-devel] [PATCH 3/4] trace: document '-' syntax for disabling events X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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