Message ID | 20180709132004.14468-11-tvrtko.ursulin@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <intel-gfx-bounces@lists.freedesktop.org> 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 0B5A96032C for <patchwork-intel-gfx@patchwork.kernel.org>; Mon, 9 Jul 2018 13:20:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC16128AB1 for <patchwork-intel-gfx@patchwork.kernel.org>; Mon, 9 Jul 2018 13:20:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF31B28B01; Mon, 9 Jul 2018 13:20:39 +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 98F0A28AB1 for <patchwork-intel-gfx@patchwork.kernel.org>; Mon, 9 Jul 2018 13:20:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1BC796E467; Mon, 9 Jul 2018 13:20:34 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 992156E45A for <intel-gfx@lists.freedesktop.org>; Mon, 9 Jul 2018 13:20:19 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id n17-v6so20753533wmh.2 for <intel-gfx@lists.freedesktop.org>; Mon, 09 Jul 2018 06:20:19 -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=pLlSVv0pfiPjw/EhM7H8rPeN9/27k7SSbvUztNze8UQ=; b=IN/OKsaYotnXai3OGrJsJ0uJBVBkNGp9gOs3N36HhIefqfEj+3N2UdtID6LDZhUqkw Uk8ebyraEjXSzLYez5Ocx6PJnZrMKGmk/j/ABmi3RJ2PNwk3KqRdzqoRoAWLH36RrTci LyrzB41hUSnWY8foycqT93P6P5IY7SxbtjVXj7TMtmjI4Oqp6bHKM3Au/aiQE6bP/sv6 9uW5NzkcPkTA64ZIUS8eoAVuR6aQSC8qK8lqzsQXcLYe0cM2Dl8DE0c/7YL6EF2kaDRN mEn2MxhzLHFlUKT5InvAEeVp81HsFqK5s8IPZ0QrZSk9O7XnnNZuomME6L2MG5vgKTD+ usJw== X-Gm-Message-State: APt69E3noMNhq6dvruq5D2CSts4qjWJFiu22etncG9hUkfZasYcy6Sg+ twNZv03sVKu+yyPtiLoeeAZuTw== X-Google-Smtp-Source: AAOMgpeytkjS7pVsvfA0UzreiKUo3oRggWfCQ2v1Xq8Qn3YrojU/XTE632VNzREszlIKuABsqv0OGQ== X-Received: by 2002:a1c:d8:: with SMTP id 207-v6mr11416623wma.99.1531142418327; Mon, 09 Jul 2018 06:20:18 -0700 (PDT) Received: from localhost.localdomain ([95.146.151.144]) by smtp.gmail.com with ESMTPSA id l10-v6sm21585637wrv.23.2018.07.09.06.20.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 06:20:17 -0700 (PDT) From: Tvrtko Ursulin <tursulin@ursulin.net> X-Google-Original-From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> To: igt-dev@lists.freedesktop.org Date: Mon, 9 Jul 2018 14:20:03 +0100 Message-Id: <20180709132004.14468-11-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180709132004.14468-1-tvrtko.ursulin@linux.intel.com> References: <20180709132004.14468-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [PATCH i-g-t 10/11] trace.pl: Basic preemption support X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Cc: intel-gfx@lists.freedesktop.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/scripts/trace.pl b/scripts/trace.pl index 6379dace5743..5da5f5a14104 100755 --- a/scripts/trace.pl +++ b/scripts/trace.pl @@ -438,7 +438,9 @@ while (<>) { } elsif ($tp_name eq 'i915:i915_request_in:') { my %req; - die if exists $db{$key}; + # preemption + delete $db{$key} if exists $db{$key}; + die unless exists $queue{$key}; die unless exists $submit{$key};