From patchwork Fri Feb 5 18:34:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Faggioli X-Patchwork-Id: 8238241 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F02DC9F3CD for ; Fri, 5 Feb 2016 18:37:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 11D5F20375 for ; Fri, 5 Feb 2016 18:37:26 +0000 (UTC) Received: from lists.xen.org (lists.xenproject.org [50.57.142.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9CE9520389 for ; Fri, 5 Feb 2016 18:37:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aRlDm-0004Ji-5v; Fri, 05 Feb 2016 18:35:06 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aRlDk-0004Is-JS for xen-devel@lists.xenproject.org; Fri, 05 Feb 2016 18:35:04 +0000 Received: from [85.158.137.68] by server-3.bemta-3.messagelabs.com id F4/6B-02499-75BE4B65; Fri, 05 Feb 2016 18:35:03 +0000 X-Env-Sender: raistlin.df@gmail.com X-Msg-Ref: server-15.tower-31.messagelabs.com!1454697303!20350006!1 X-Originating-IP: [74.125.82.68] X-SpamReason: No, hits=0.2 required=7.0 tests=RCVD_ILLEGAL_IP X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 12944 invoked from network); 5 Feb 2016 18:35:03 -0000 Received: from mail-wm0-f68.google.com (HELO mail-wm0-f68.google.com) (74.125.82.68) by server-15.tower-31.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 5 Feb 2016 18:35:03 -0000 Received: by mail-wm0-f68.google.com with SMTP id p63so4181182wmp.1 for ; Fri, 05 Feb 2016 10:35:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:from:to:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=jeKWCphq/hw8preXwyb9SlNAQdYVWhSr9vKXAt9hS0k=; b=JKNNcI9YnO5QOFfPLeojygBubE0npXFjvnQXFDwSZMC7mbbDsggQU+gSDA1P09PJNI qWQr7aq5JuHKWTf0YhqMW1gmLd+S/7OgyeRyCW8KDDTBuvVdIWpVT1B3EYAjfkkF9fVG xx83NefxnbHB7S1MWS3DG3WedrXOiPgl4zM+boI0BnUcOzIP4GAr4BDHeg47qE+/Qkdi wX3VMyzl/f50yJ6nn1wbmpBtXS176HRW3l4PnhGIX0lshBuYDKj5hjQnsn30FAMX+p4q BkMBiAEVv2CfA5iVmavVIBfOOJaouwbpLIKnhtv7HL8rn0P3ci/v9fFzevaCrRdqSGr7 mRpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:from:to:cc:date:message-id :in-reply-to:references:user-agent:mime-version:content-type :content-transfer-encoding; bh=jeKWCphq/hw8preXwyb9SlNAQdYVWhSr9vKXAt9hS0k=; b=R5nkm777slxyR2EgHWpLYexalw24jLE7R0uWRHpkkjctTjTlyVgflW5ftZR2PygWVe lqKD+Qf9rOTdmPD4AwFkhX6Y0P2KkvF+xH2C7lh1trUhCWt7loKM/sRSvRQ8tFgN0LdM dNhfkvq5UhuuPa65X3Kmv4wXapWQFJDvQMQxxRvttXkz1bTC2WWJnkqwesUc8xHkzKM4 6HM+/1XMCwJ6Pww77VEul2EzJJ0VF+9D2ftgZHIvnM9NVPxIVL7Y7oEZzL8QLUHe8ZT9 FFMzrm0zkTPfhjrH8gfp9edYdiNBcFhGd0dtUZaotxKLKrUaoeQrxudAMWp1b8OK5fX4 NQWg== X-Gm-Message-State: AG10YOSgg1sT0olo7Nl144cD0ykvL18wohRZ7vXogDlWmbLjUBDrZrPD2MoDFLWbwkGZ5A== X-Received: by 10.194.87.201 with SMTP id ba9mr15510547wjb.128.1454697303123; Fri, 05 Feb 2016 10:35:03 -0800 (PST) Received: from Solace.station (net-2-35-170-8.cust.vodafonedsl.it. [2.35.170.8]) by smtp.gmail.com with ESMTPSA id z127sm32002090wme.2.2016.02.05.10.34.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Feb 2016 10:35:02 -0800 (PST) From: Dario Faggioli To: xen-devel@lists.xenproject.org Date: Fri, 05 Feb 2016 19:34:56 +0100 Message-ID: <20160205183456.4543.67831.stgit@Solace.station> In-Reply-To: <20160205183137.4543.56523.stgit@Solace.station> References: <20160205183137.4543.56523.stgit@Solace.station> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Cc: George Dunlap , Wei Liu , Olaf Hering , Ian Jackson , Ian Campbell Subject: [Xen-devel] [PATCH 09/14] xentrace: formats: add events from Credit2 scheduler X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Dario Faggioli --- Cc: George Dunlap Cc: Ian Jackson Cc: Ian Campbell Cc: Wei Liu Cc: Olaf Hering --- tools/xentrace/formats | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tools/xentrace/formats b/tools/xentrace/formats index a5636e9..b8ec06b 100644 --- a/tools/xentrace/formats +++ b/tools/xentrace/formats @@ -43,6 +43,19 @@ 0x00022005 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched:picked_cpu [ dom:vcpu = 0x%(1)04x%(2)04x, cpu = %(3)d ] 0x00022006 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched:tickle [ cpu = %(1)d ] +0x00022201 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:tick +0x00022202 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:runq_pos [ dom:vcpu = 0x%(1)08x, pos = %(2)d] +0x00022203 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:credit burn [ dom:vcpu = 0x%(1)08x, credit = %(2)d, delta = %(3)d ] +0x00022204 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:credit_add +0x00022205 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:tickle_check [ dom:vcpu = 0x%(1)08x, credit = %(2)d ] +0x00022206 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:tickle [ cpu = %(1)d ] +0x00022207 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:credit_reset [ dom:vcpu = 0x%(1)08x, cr_start = %(2)d, cr_end = %(3)d, mult = %(4)d ] +0x00022208 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:sched_tasklet +0x00022209 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:update_load +0x0002220a CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:runq_assign [ dom:vcpu = 0x%(1)08x, rq_idx = %(2)d ] +0x0002220b CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:updt_vcpu_load [ dom:vcpu = 0x%(1)08x, avgload = %(2)d ] +0x0002220c CPU%(cpu)d %(tsc)d (+%(reltsc)8d) csched2:updt_runq_load [ rq_load[4]:rq_avgload[28] = 0x%(1)08x, rq_idx[4]:b_avgload[28] = 0x%(2)08x ] + 0x00081001 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) VMENTRY 0x00081002 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) VMEXIT [ exitcode = 0x%(1)08x, rIP = 0x%(2)08x ] 0x00081102 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) VMEXIT [ exitcode = 0x%(1)08x, rIP = 0x%(3)08x%(2)08x ]