From patchwork Thu Mar 15 10:01:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10284191 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 D3D6260291 for ; Thu, 15 Mar 2018 10:01:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3D3B28995 for ; Thu, 15 Mar 2018 10:01:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8A6128996; Thu, 15 Mar 2018 10:01:35 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID 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 4338C28997 for ; Thu, 15 Mar 2018 10:01:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D33D36E7E7; Thu, 15 Mar 2018 10:01:34 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 534066E7E7 for ; Thu, 15 Mar 2018 10:01:33 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id e194so9223293wmd.3 for ; Thu, 15 Mar 2018 03:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QyVee4jiZ7jVW4R+2saJAjJd9LseHR+Eqz8cPD9IBvg=; b=yXuB1FE04Fo5UYKo0pj+8cH5eIpdy1EnJi0CyZ2+w5h00f8b5AbUdupVZK0M3Ohu/P 9NZrwWfyhRazoSDcly4prXplR652ZrfmQld6s9Qo3xfp+wz64C/XcUJfSE1KhHjAJPAi T0QkA7gQTE2WhgBOzzAPZQIa8M/6osfHhEa85rS2vEZIB3ajZx4iXOy5GyY3653RzoQc bOzYqze1UatFzhAzWOZi1IYNFlObIV15yjwKmzHW5e1+St78I7QYR3RFNMg6nwQJBWAp M4pkLdQxBquFxU/ntyPda2elB8WffDft5zOONftxEbtP37XwyRiuBTiyVYe2OKyKu3eh W00w== 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=QyVee4jiZ7jVW4R+2saJAjJd9LseHR+Eqz8cPD9IBvg=; b=j47+kY92Gb/v6C6fIVoarir5GLdb+Hn1gE9xPLdLlSfqMCNOaJPLqrIMovW/dQSgkG /0TR7Mq1H657dybNfBAotTPKlV5bxVRkKvydG3M9FubOTdQz9misloDflaWxLTE5Uanc hkUKi0Z24OtuVRLi9SHOOxWixc58mwllD4J+980A9sLYWDYWX4xxpS0CJLDT8DFpWQ2B GPJrbV80MdUNcY1VXVqhs7J+Hgi3Z+wzKmPjqXPxalxkV8bhr5YRMNRJumHcxIETiBzh xlBUldZKtAWgmlcWVN/aeQcBbgX5ARP6NFfaLOoX8vQpw/R3t7ZnuJlcaIB0wnuPOgA/ sY3A== X-Gm-Message-State: AElRT7Gog7x+f60Sdzrt9DkTE6arJQzgLEG3laaWG8xgvyIP8zsmXpJm jRGs8Vtd9vbDqoPn/S7NvtTCNQ== X-Google-Smtp-Source: AG47ELtLJbTyVaD8hOwoceVWpSnsH74Cv1Mp2VwFGmGxXsjMU8RhwBuTWiJ1Smk87LnORYjqdpZNoA== X-Received: by 10.28.231.6 with SMTP id e6mr4464296wmh.51.1521108092027; Thu, 15 Mar 2018 03:01:32 -0700 (PDT) Received: from localhost.localdomain ([95.146.144.186]) by smtp.gmail.com with ESMTPSA id u20sm3989423wru.94.2018.03.15.03.01.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Mar 2018 03:01:31 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: igt-dev@lists.freedesktop.org Date: Thu, 15 Mar 2018 10:01:22 +0000 Message-Id: <20180315100122.10336-1-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180305124158.22793-1-tvrtko.ursulin@linux.intel.com> References: <20180305124158.22793-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [PATCH i-g-t v2] intel-gpu-overlay: Update for renamed tracepoints 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 Request tracepoints have been renames so update the tool to be able to find them. v2: Only support new names. Signed-off-by: Tvrtko Ursulin Reviewed-by: Chris Wilson --- overlay/gpu-perf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/overlay/gpu-perf.c b/overlay/gpu-perf.c index 0abd937e3618..ea3480050ab9 100644 --- a/overlay/gpu-perf.c +++ b/overlay/gpu-perf.c @@ -90,9 +90,9 @@ struct tracepoint { int global_seqno_field; int plane_field; } tracepoints[TP_NB] = { - [TP_GEM_REQUEST_ADD] = { .name = "i915/i915_gem_request_add", }, - [TP_GEM_REQUEST_WAIT_BEGIN] = { .name = "i915/i915_gem_request_wait_begin", }, - [TP_GEM_REQUEST_WAIT_END] = { .name = "i915/i915_gem_request_wait_end", }, + [TP_GEM_REQUEST_ADD] = { .name = "i915/i915_request_add", }, + [TP_GEM_REQUEST_WAIT_BEGIN] = { .name = "i915/i915_request_wait_begin", }, + [TP_GEM_REQUEST_WAIT_END] = { .name = "i915/i915_request_wait_end", }, [TP_FLIP_COMPLETE] = { .name = "i915/flip_complete", }, [TP_GEM_RING_SYNC_TO] = { .name = "i915/gem_ring_sync_to", }, [TP_GEM_RING_SWITCH_CONTEXT] = { .name = "i915/gem_ring_switch_context", },