From patchwork Wed Mar 1 05:27:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 9597641 X-Patchwork-Delegate: rjw@sisk.pl 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 6009A604DC for ; Wed, 1 Mar 2017 05:57:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5362527F10 for ; Wed, 1 Mar 2017 05:57:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47D58283F9; Wed, 1 Mar 2017 05:57:22 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFBF027F10 for ; Wed, 1 Mar 2017 05:57:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751009AbdCAF5U (ORCPT ); Wed, 1 Mar 2017 00:57:20 -0500 Received: from mail-qk0-f195.google.com ([209.85.220.195]:34020 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750709AbdCAF5T (ORCPT ); Wed, 1 Mar 2017 00:57:19 -0500 Received: by mail-qk0-f195.google.com with SMTP id s186so8329147qkb.1; Tue, 28 Feb 2017 21:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references:reply-to:organization; bh=V0PmsHSPC5f8rZHTb5ONFQ68I51+od3zC2umjfIUkOk=; b=XcuXBRHw8bu0eXdHg8XZi/pQe6kbRyZi8lQFKaoaqv3QjMqTitFuh50rigGE9Ba7hb lv138lNbbvwf3VJXmUfP2HjDBSbYK04xUktK4RG8ZRBF5M/xqEt7ikZpJQ2/dp2GXP3b KxMPf9AX/N0jGqyXmeLE52hOosxJahO5PN422N2imSYp/gdpp6FmCBDndxa6R5T9W5qi S2dmHn0lD/cIrjQNb/isZeP/TVUjcjAz1nNj1xMhwt5MtH3Yjpb7OeUK3V7bKqiRkZx8 AdQADmWj+fCYmwTwFVzqKHxuEAH5EVt97pN/SccSwLSdfaZhiPAx5NDG6SQfPHKdfOw7 HsMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references:reply-to:organization; bh=V0PmsHSPC5f8rZHTb5ONFQ68I51+od3zC2umjfIUkOk=; b=l9J87H1UHz7RLvQ2wQqobbts7ZNUTuDISFokd6vrj5TRCspYHdWTx/oJoFv0WPpZ20 F+VvKLuPusna9KvKa9NsyQp43VOV7NQxS03XjOpiizaVezZ9Ok/pobzXJ16UMvJvN1y4 xzfsSrbK4JDrbk60R2T0AlpzDWeP+40kjBF2zuwSeZYV9ihpasZFV3g4bSXCUtOPFvnD cBumYargCIbv5/utLW7OubJ/3LUcaLmlnC66QWS4gxywg41kfmzYZtz8Zigxiw0dv972 4LuJDNWQyIqGZ/xl7b4N//UzdehYGwMM1A7qWyjQwm5jSYWJPN7YXmyA7STkfJ9ojUh1 66sw== X-Gm-Message-State: AMke39kDugRltGA6nTzfz5kmKKipsHaa171EqD4VNCnR3X7jGr1lQ3WHgCXXewdY3/ut8Q== X-Received: by 10.233.237.69 with SMTP id c66mr8018715qkg.160.1488346130360; Tue, 28 Feb 2017 21:28:50 -0800 (PST) Received: from z87.localdomain (pool-96-230-116-151.bstnma.fios.verizon.net. [96.230.116.151]) by smtp.gmail.com with ESMTPSA id c141sm2530517qkb.10.2017.02.28.21.28.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Feb 2017 21:28:50 -0800 (PST) From: Len Brown To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Len Brown Subject: [PATCH 40/44] tools/power turbostat: show package number, even without --debug Date: Wed, 1 Mar 2017 00:27:44 -0500 Message-Id: <7da6e3e2125d24040b3648ddc61edf70eb533849.1488345270.git.len.brown@intel.com> X-Mailer: git-send-email 2.11.0.161.g6610af872 In-Reply-To: <20170301052748.27810-1-lenb@kernel.org> References: <20170301052748.27810-1-lenb@kernel.org> In-Reply-To: <678a3bd1b3de6d2ebf604e7d708bc8150bb667e9.1488345270.git.len.brown@intel.com> References: <678a3bd1b3de6d2ebf604e7d708bc8150bb667e9.1488345270.git.len.brown@intel.com> Reply-To: Len Brown Organization: Intel Open Source Technology Center Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Len Brown On multi-package systems, the "Package" column was being displayed only if --debug was used. Show it always. Signed-off-by: Len Brown --- tools/power/x86/turbostat/turbostat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 596259f48f50..2c674ad5ab80 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -4294,7 +4294,7 @@ void topology_probe() if (debug > 1) fprintf(outf, "max_package_id %d, sizing for %d packages\n", max_package_id, topo.num_packages); - if (debug && !summary_only && topo.num_packages > 1) + if (!summary_only && topo.num_packages > 1) BIC_PRESENT(BIC_Package); topo.num_threads_per_core = max_siblings;