From patchwork Tue Feb 16 18:12:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Faggioli X-Patchwork-Id: 8330511 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 761B6C02AA for ; Tue, 16 Feb 2016 18:14:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8EE6520295 for ; Tue, 16 Feb 2016 18:14:09 +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 9979B202BE for ; Tue, 16 Feb 2016 18:14:08 +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 1aVk6r-0003iS-Oy; Tue, 16 Feb 2016 18:12:25 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aVk6p-0003hY-Th for xen-devel@lists.xenproject.org; Tue, 16 Feb 2016 18:12:24 +0000 Received: from [85.158.139.211] by server-17.bemta-5.messagelabs.com id C2/A4-21901-78663C65; Tue, 16 Feb 2016 18:12:23 +0000 X-Env-Sender: raistlin.df@gmail.com X-Msg-Ref: server-5.tower-206.messagelabs.com!1455646342!22784559!1 X-Originating-IP: [74.125.82.65] 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 46851 invoked from network); 16 Feb 2016 18:12:22 -0000 Received: from mail-wm0-f65.google.com (HELO mail-wm0-f65.google.com) (74.125.82.65) by server-5.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 16 Feb 2016 18:12:22 -0000 Received: by mail-wm0-f65.google.com with SMTP id b205so14511285wmb.1 for ; Tue, 16 Feb 2016 10:12:22 -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=/DHWZJk3Wb35aGyVjIx09cyVZl+PEh6ScHGLXs7yg+4=; b=bCRR/EUZNmX6pZkyLsMHe/fHx9/oHsS+yK4Ezr/OtzGHItfEUtoCQND5uleyxZxoAn wHhOnx73/uI1CYHHDpBEsCIMOl1ws3TPFTwNM/EJu+h3sXYvmSktDLLzRGBDc3zUowT0 qJ+jNnFWLdjGCjzknH/WAsbjPKqM2M7hlJ2/Llvd4ivLUcBOvLY+US1wsoT0hgacE4/o hxc0jGyOHl/ZUqrW+PG7sr6JZKp/LjZtvmzmbFzN/IBGu9wJ+4LCHtDLLIyDlagF1Os/ SBLbf0s+MF7LVioazYuYyUpHwxAP4GB0rr06QtJ90nHNxoClXe9JKPpoxyq6FNEIRrkD sqZg== 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=/DHWZJk3Wb35aGyVjIx09cyVZl+PEh6ScHGLXs7yg+4=; b=EcnnUH2hWCP4VMgLIosanTjDDiQiKeC5OO5Ft1eqpe4IY9kaYZw5fmOAbaaNpVeTdg G9vfCUiVXWGQxP3f8w9Ka4SUSaVpL0tO6X/FSWSsSN01h9nlIsK5a/3S47FLtmN6EvAA OTY6Zts3zyh4fc1/tX7GaL2v2IjgQT+iJ+vmrGXkSdolsnXkqDIwKLw7YZg/0Iktq4Mc llnuB29wyH/E5XvtJIaQnx6ZsuV+TcBxeETOvvWhP7NslYtH2mXeGx+naWLAMIbmPge8 im+V/6R4ILuaIorfZiRAWa+qYE2oCuIFVzLTC9h9IcL9v1M+Bh1XhciMAImWP9CRihrV g/Fg== X-Gm-Message-State: AG10YORW6UJcj59ms+njn+kfAV54QXil0jg1OSbkkd64giY1ix/ZbARyxqDEeYbzHb1Viw== X-Received: by 10.194.216.99 with SMTP id op3mr24428066wjc.26.1455646342417; Tue, 16 Feb 2016 10:12:22 -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 y3sm12022265wmy.17.2016.02.16.10.12.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Feb 2016 10:12:21 -0800 (PST) From: Dario Faggioli To: xen-devel@lists.xenproject.org Date: Tue, 16 Feb 2016 19:12:19 +0100 Message-ID: <20160216181219.27876.74828.stgit@Solace.station> In-Reply-To: <20160216180550.27876.22680.stgit@Solace.station> References: <20160216180550.27876.22680.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 v2 09/16] 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 --- Changes from v1: * fix typo in two events (rq_idx/rq_id)., as requested during review. --- tools/xentrace/formats | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tools/xentrace/formats b/tools/xentrace/formats index a5636e9..6911fcb 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_id = %(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_id[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 ]