From patchwork Mon Aug 2 05:41:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Niethe X-Patchwork-Id: 1512294 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=csSiVEtx; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GdTLq3hpgz9t0p for ; Mon, 2 Aug 2021 16:56:35 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GdTLq2gPNz30FD for ; Mon, 2 Aug 2021 16:56:35 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=csSiVEtx; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1034; helo=mail-pj1-x1034.google.com; envelope-from=jniethe5@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=csSiVEtx; dkim-atps=neutral Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4GdRhT1SfLz306F for ; Mon, 2 Aug 2021 15:41:45 +1000 (AEST) Received: by mail-pj1-x1034.google.com with SMTP id ca5so23669888pjb.5 for ; Sun, 01 Aug 2021 22:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cJwwTncgE7jk6/07D2xPf68Q7DQa56TtiVBPT/tzWHM=; b=csSiVEtxkN8ZoL3U8N64NFwLFRahoRiWu86tyGkEZlt+7EGbH6P0bJr6alleyVHTk5 S023h6MBKJ0ZPMFVlCXHo6424wm6GVPqpyDXhFsso/f+1AE0URuWVbKipR6WLi6qPUw6 7OZSw3Jzue3ATFBroCzxA/0CtKji208yyn5AJ5By3b/5xWw0D36uBhujtzXNOTM3UcE2 h+hxskvs/eRj659eem4yWpX1N5Q69viLnRMPN2gjuwmZyetkcVw9Rs2/oBq91BMNFDms jWi+ohJEl9fSvajxcBygxWX+q09gYZrJicFpfKIk+xGRmLdA1EUoT5q3M1ZxuRKRU779 mK6w== 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:mime-version:content-transfer-encoding; bh=cJwwTncgE7jk6/07D2xPf68Q7DQa56TtiVBPT/tzWHM=; b=lDb5DHVEAwWEHuojYxqTlBc9UnxBlUHbPJcQ10lTTfzxfQ1NBloIduQqJgWAiY+3wb yFsFOQLa/roUXdr1Vm1OHtBkGHCkeuSlC6MlyK2NuLLJpp6S3n86Rjg/60J6JGaxJuWA kVQN9YUKo9MJDDYnKCyweHj9scK7nINyJ4qwAIMiUvkAH4pG2BSGLkce7CwMtBTwIdeB hDk4mD1uRWCeyPJUE2wPabff0cyk4w3E7tIDLCWAPaXgU1EFX+C9DAXHjRkMvBhbFrRt 2JD5TgcoM15w3hbvLFiqSq0gJbSvfXjjkpMnPRdCp6KDjOK/kDVnbEIKkuoyCirXa8k5 1UCw== X-Gm-Message-State: AOAM531KR7pcH9a4Df6/k8DFOZWlyTEUeBdbFMqsA7yoIQ3GlmM59h+f wwtVN/eNgLFgatH1aaJ6yrIbtWxiOvQ= X-Google-Smtp-Source: ABdhPJyeoF96Yu8gNpcXo2BSi+j4u+1+rb4kj3t95xswS/Pwc85V118RRgB/gb2CIshFkgRazA7J3w== X-Received: by 2002:a17:90a:1c9:: with SMTP id 9mr15352100pjd.79.1627882902581; Sun, 01 Aug 2021 22:41:42 -0700 (PDT) Received: from tee480.ozlabs.ibm.com (159-196-117-139.9fc475.syd.nbn.aussiebb.net. [159.196.117.139]) by smtp.gmail.com with ESMTPSA id 189sm1741852pfx.135.2021.08.01.22.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Aug 2021 22:41:42 -0700 (PDT) From: Jordan Niethe To: pdbg@lists.ozlabs.org Date: Mon, 2 Aug 2021 15:41:08 +1000 Message-Id: <20210802054112.461728-9-jniethe5@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210802054112.461728-1-jniethe5@gmail.com> References: <20210802054112.461728-1-jniethe5@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 02 Aug 2021 16:56:28 +1000 Subject: [Pdbg] [PATCH 08/12] htm: Only check threads for smt1 on target core X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jordan Niethe Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Targeting every thread is not necessary, instead only target the threads of the targeted core. Signed-off-by: Jordan Niethe --- src/htm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/htm.c b/src/htm.c index e0c746d810d2..a08f244b2a3c 100644 --- a/src/htm.c +++ b/src/htm.c @@ -291,7 +291,7 @@ int run_htm(int optind, int argc, char *argv[]) } /* Check that powersave is off */ - pdbg_for_each_class_target("thread", target) { + pdbg_for_each_target("thread", core_target, target) { status = pdbg_target_probe(target); if (status == PDBG_TARGET_NONEXISTENT) continue;