From patchwork Fri Jul 13 09:55:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10522963 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 6C155602B3 for ; Fri, 13 Jul 2018 09:55:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5AE512978D for ; Fri, 13 Jul 2018 09:55:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CDC029791; Fri, 13 Jul 2018 09:55:46 +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 B951D2978D for ; Fri, 13 Jul 2018 09:55:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 19C2A6F1D4; Fri, 13 Jul 2018 09:55:45 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id AFAB26F1D4 for ; Fri, 13 Jul 2018 09:55:43 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id o11-v6so2309294wmh.2 for ; Fri, 13 Jul 2018 02:55:43 -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=E13QrZ1AentnCbkyqMkTI9K4PQ5GKZqDiII404Rf5T4=; b=ioLiAIuQX5/SqwwQpAd9SCFdNGTKQuaWu2DogQOwEHNnM3kQFLgBugIYfZ1GdQZy3A Z44yURunGuHKHtTvBlBwRqYh/I3Z+y3lCo450BMzwAVdnHoN93N5zHVyHu3RN/GOD2Ia O7IsyRqPCd6nbVVbW52JmRnYzrrqP4ud/gszRVra6UPcZiIxse0AGQmpyWxPd8kbM7fO VFT665ssPMJZTTirNCsbVjIkfjOfhA7whxz/R9SzpqHre2ea6WVCmvwA7NNWjtOTBMQu vbYCh/QxIIrp09YY4QJve2J6tw3kELonxjc7+gimjEK2OLdcjQ5sFIg14jVBHcz8YE7m VmKg== X-Gm-Message-State: AOUpUlFOmNrlNRcxlotHDVvZHy8WlzHdZTr03lq5vTMm9t44FSpJayCT 8K1uG2BgItkQm+2cuNZW8PivWg== X-Google-Smtp-Source: AAOMgpcxeTngWQ2oJU882owFzBax6cExM4gHuy14xoLLGLAiyZWmZ8/vHcYu9a0fRI7WscxRFZDmFw== X-Received: by 2002:a1c:e708:: with SMTP id e8-v6mr3671955wmh.134.1531475742399; Fri, 13 Jul 2018 02:55:42 -0700 (PDT) Received: from localhost.localdomain ([95.146.151.144]) by smtp.gmail.com with ESMTPSA id f190-v6sm13406171wmd.0.2018.07.13.02.55.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 02:55:41 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: igt-dev@lists.freedesktop.org Date: Fri, 13 Jul 2018 10:55:37 +0100 Message-Id: <20180713095537.21080-1-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <7d8a4756-c021-2751-f81c-0e67b2eba076@Intel.com> References: <7d8a4756-c021-2751-f81c-0e67b2eba076@Intel.com> Subject: [Intel-gfx] [PATCH i-g-t v2 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 millisecond offsets on the minor axis. v2: * Give up on broken relative timestamps. Signed-off-by: Tvrtko Ursulin Suggested-by: Chris Wilson Cc: Chris Wilson Cc: John Harrison Reviewed-by: John Harrison --- scripts/trace.pl | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/scripts/trace.pl b/scripts/trace.pl index fc1713e4f9a7..41f10749a153 100755 --- a/scripts/trace.pl +++ b/scripts/trace.pl @@ -1000,6 +1000,42 @@ $first_ts = ts($first_ts); print <