From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 39E3B10E381 for ; Tue, 11 Jul 2023 11:20:29 +0000 (UTC) From: =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= To: igt-dev@lists.freedesktop.org Date: Tue, 11 Jul 2023 13:19:55 +0200 Message-Id: <20230711112009.122482-4-zbigniew.kempczynski@intel.com> In-Reply-To: <20230711112009.122482-1-zbigniew.kempczynski@intel.com> References: <20230711112009.122482-1-zbigniew.kempczynski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v3 03/17] lib/intel_allocator: Remove extensive debugging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Debugging map keys comparison leads to produce extensive logging what in turn obscures analysis. Remove it to get clearer logs. Signed-off-by: Zbigniew KempczyƄski Reviewed-by: Karolina Stolarek --- lib/intel_allocator.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/intel_allocator.c b/lib/intel_allocator.c index 09f665fbb9..cf964ccc41 100644 --- a/lib/intel_allocator.c +++ b/lib/intel_allocator.c @@ -1330,9 +1330,6 @@ static int equal_handles(const void *key1, const void *key2) { const struct handle_entry *h1 = key1, *h2 = key2; - alloc_debug("h1: %llx, h2: %llx\n", - (long long) h1->handle, (long long) h2->handle); - return h1->handle == h2->handle; } @@ -1340,9 +1337,6 @@ static int equal_ctx(const void *key1, const void *key2) { const struct allocator *a1 = key1, *a2 = key2; - alloc_debug("a1: , a2 \n", - a1->fd, a1->ctx, a2->fd, a2->ctx); - return a1->fd == a2->fd && a1->ctx == a2->ctx; } @@ -1350,9 +1344,6 @@ static int equal_vm(const void *key1, const void *key2) { const struct allocator *a1 = key1, *a2 = key2; - alloc_debug("a1: , a2 \n", - a1->fd, a1->vm, a2->fd, a2->vm); - return a1->fd == a2->fd && a1->vm == a2->vm; } -- 2.34.1