From patchwork Thu Jul 12 10:59:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10521455 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AEC766032C for ; Thu, 12 Jul 2018 11:00:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9997B2925C for ; Thu, 12 Jul 2018 11:00:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8DB982926C; Thu, 12 Jul 2018 11:00:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4789B29271 for ; Thu, 12 Jul 2018 11:00:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B57286EF65; Thu, 12 Jul 2018 11:00:08 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by gabe.freedesktop.org (Postfix) with ESMTPS id A111F6EF44 for ; Thu, 12 Jul 2018 11:00:05 +0000 (UTC) Received: by mail-wr1-x431.google.com with SMTP id c13-v6so21205453wrt.1 for ; Thu, 12 Jul 2018 04:00:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Yi8qaoKWBCuNvk/OfILhD1FJbTQbaKm1+nAOH2cuspQ=; b=C7lo7OsV1unkjiuV/Kd+eEWA61L8/UyxppuG2obvALDs0+TZg7DAxKWr3ysV6OSIDy IRA/sv/X3KekqEkQR91PS+nwLLGYPm4G6sONeAewUYtIii/djujImQU6QbfjkeMdKHFC yF6KJGnwIGMnzqgArp2wmc8Ou3u3rypuC++TndsDChNWr6MBG9n42idovr82+qFc3gIL a7Q8Tf55MKy5yGq+mbG2o2D5v2Ovi1uArsCTPJGLig0B+MLefdlbCk8TaoZrEFN88E2h glrFyuCOdjCjAU+fU0jBxEvs2/X3mFGZSVbcxVjzXG5WsP/bd8BGfTh689TKNwmHHiJ0 Xoaw== X-Gm-Message-State: AOUpUlH5YmzQwdxFrxHUgVOzb+R/N/89pMTyYtzMvypRO0f3qhcbxLyK SSPZuDTIx+4K5DJJxz/vcsPt+g== X-Google-Smtp-Source: AAOMgpdJJSymV7njjNYXfEzToIgjex+0ICZu70VuhfzsYks408j5FAKoAUqYuG0DdXlyoWqLt8Jctg== X-Received: by 2002:adf:a49a:: with SMTP id g26-v6mr1416844wrb.91.1531393204347; Thu, 12 Jul 2018 04:00:04 -0700 (PDT) Received: from localhost.localdomain ([95.146.151.144]) by smtp.gmail.com with ESMTPSA id z5-v6sm23494585wrv.2.2018.07.12.04.00.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jul 2018 04:00:03 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: igt-dev@lists.freedesktop.org Date: Thu, 12 Jul 2018 11:59:50 +0100 Message-Id: <20180712105958.12953-2-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180712105958.12953-1-tvrtko.ursulin@linux.intel.com> References: <20180712105958.12953-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [PATCH i-g-t 1/9] trace.pl: Improve time axis labels X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin It is possible to customize the axis display so change it to display timestamps in seconds on the major axis (with six decimal spaces) and relative millisecond offsets on the minor axis. Signed-off-by: Tvrtko Ursulin Suggested-by: Chris Wilson Cc: Chris Wilson Cc: John Harrison --- scripts/trace.pl | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/scripts/trace.pl b/scripts/trace.pl index fc1713e4f9a7..89491125490d 100755 --- a/scripts/trace.pl +++ b/scripts/trace.pl @@ -1000,6 +1000,37 @@ $first_ts = ts($first_ts); print <