From patchwork Thu Jul 19 09:36:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10534001 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 DBA1A600F4 for ; Thu, 19 Jul 2018 09:36:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB8AD295DD for ; Thu, 19 Jul 2018 09:36:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFFA529671; Thu, 19 Jul 2018 09:36:21 +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 8571D295DD for ; Thu, 19 Jul 2018 09:36:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ED3776ED74; Thu, 19 Jul 2018 09:36:20 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5332A6ED69 for ; Thu, 19 Jul 2018 09:36:11 +0000 (UTC) Received: by mail-wm0-x22c.google.com with SMTP id z6-v6so1274058wma.0 for ; Thu, 19 Jul 2018 02:36:11 -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=mb1YPtWJBFj/TveS6axQuvFOvMecy1gXODGNF57mU9A=; b=pwUyR394Om/uZcxlj3jLF24sJROo2e9cyMugnSvd2sDPnplh65z75UsyUGfcWLZSod P7+TUqNB47cHo75Y35EuZax7LZWjF8cMgsU6/iYgr/ET5AvQcxqLGifKeSvBHG+fxupy nuGVDFSoQcHJh9+kry8X3JReb5rwxzZ4lrI3tEJkjBfiHl/YUCv9AAaoKWLnxFitiDLk EKThitwtOfdCeXQR9S3N0xURwBBpOPCn+rRv06SvnqFjAEYpvgQF1FAk6VLrtJsofwK0 okcQ7XO6Itav+lCSx4U7g/XQDqIwGfHS1FU18Js3XEuJv4qjBrpPfKr06grvY4X8T/+A cRpg== X-Gm-Message-State: AOUpUlH8J06Xc7U88N+UCTe2zwyHF1bFcisXsq2hK3na3J8RLH8MAs5J n5Y66QPjTMPm8Irf4jMEirulCA== X-Google-Smtp-Source: AAOMgpcHehwP64ABcG6ytREXht3e619M+TcfaYEjXVrubHv0PEGcREVcIYK+UfIaDNLq7qs68NcysQ== X-Received: by 2002:a1c:e708:: with SMTP id e8-v6mr3871383wmh.134.1531992969991; Thu, 19 Jul 2018 02:36:09 -0700 (PDT) Received: from localhost.localdomain ([95.146.151.144]) by smtp.gmail.com with ESMTPSA id a11-v6sm8422004wrr.81.2018.07.19.02.36.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 02:36:09 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: igt-dev@lists.freedesktop.org Date: Thu, 19 Jul 2018 10:36:00 +0100 Message-Id: <20180719093601.11788-4-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180719093601.11788-1-tvrtko.ursulin@linux.intel.com> References: <20180719093601.11788-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [PATCH i-g-t 3/4] trace.pl: Bring back timeline stacking 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 Bring back the button which expands/stacks overlapping timeline boxes. We default to no stacking, but sometimes expanding the view can be useful, especially with deep request pipelines. Signed-off-by: Tvrtko Ursulin Reviewed-by: John Harrison Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> --- scripts/trace.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/trace.pl b/scripts/trace.pl index 59f6d32dc3c8..1924333e12b6 100755 --- a/scripts/trace.pl +++ b/scripts/trace.pl @@ -935,6 +935,7 @@ Boxes are in format 'ctx-id/seqno'.

Use Ctrl+scroll-action to zoom-in/out and scroll-action or dragging to move around the timeline.

+ @@ -1284,6 +1285,12 @@ print <