Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1670121pxa; Thu, 13 Aug 2020 14:18:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6nYskfUA0MHMhzr4TI09Cm+OQm6h1ep7Dtg5EZHZQlKK4wb6atfJ5DCikcjC1tLE5t9Pu X-Received: by 2002:a17:906:3c10:: with SMTP id h16mr6612357ejg.233.1597353503404; Thu, 13 Aug 2020 14:18:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597353503; cv=none; d=google.com; s=arc-20160816; b=Wh1/Uxtva9C5l7KzvmzujMOajGRjFtwS9Gs53DzDhs4kcOzP2D73i3xGv5DIfOs3Ef L45X+e1oyejaBaw/61XY1KqLfMi0ElRRxZ8YP28QpzREi3KiMf8fpeeZPtpRNbfu3vJa +hdsB1mJFaMLKtdQfP863DPZ83mPchJFfQlNSFtLpI9c/pC++pNRvK22CiBhrENrXcc6 UDu1erMoY+9xs8fCtrdxaKX1AWlBogeiHgfmHp2J4nYIizi+M0kSC6gbzB1oj1Q2qZRk RsSYmJYPwf1RNUvH84slRMW0yfQAENmriA6sLmFdadUUlmtJWDT5zMJAoFgDXLjvvhZV xGTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=NqgP8/kqqaBWz0T8s13lcZ2MzqpMIhm25KCZWBaRfQQ=; b=DqlgwLIreX91COZL6whqPqyNVeDj7xCv+lMcsiE5JYXZXBKclulNayrLeT4eDvSEkQ BN3PlqnghKETPYDM5lPEFsst9HkTQ/znUz66mMzVmn0MVbIEAfQ9UfYyvMj5kNzX/sIs w9SymzztwVVnlQghd/QkATRppMlb/fr0xFAlWsGAaC+e7T/KMpuTzHDlI/bUwE/s0Hdl r6w7gkLbz46JHOMt5V3f8J6mjxKw08qTTUWyqk4a5JOxiHrQvvOScjxfD8SSS1sxGoWK MFgrV5KoF/f26LVSgPHrVt1j1O/mfTX9qW/SaMPFhOROcB4tEfCJ44DYiPceglj7QOBd GLLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t28si4483519edt.38.2020.08.13.14.17.57; Thu, 13 Aug 2020 14:18:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726546AbgHMVQt (ORCPT + 99 others); Thu, 13 Aug 2020 17:16:49 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:46942 "EHLO mail-ej1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbgHMVQs (ORCPT ); Thu, 13 Aug 2020 17:16:48 -0400 Received: by mail-ej1-f66.google.com with SMTP id p24so7684140ejf.13; Thu, 13 Aug 2020 14:16:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NqgP8/kqqaBWz0T8s13lcZ2MzqpMIhm25KCZWBaRfQQ=; b=O4BrTjnCxNHmbaIlJbV3CNZU6Ku0En9//7EOiQBlZhjrZtRjYe5Etv2ynovBTsI5Wx smObhat0BS5Ydo3RSbDBoYDA6SJRp5rKL9+E7yRVUpmRWQXLPqBRNwDo3I33hpTeIW3J Jp9Tzzk/ftCKj3lNozxk8U8ySTV5Dr0KQiQ6TAehFdDGdulM14OH76dmddea4o0Jkxo1 L7ybM8CTy2IwPRA3rxPx2IV9B7RhybTGVIv3U37z0srzsXN7Y5v1Dx6t3mslzH1bi2rF lr1M7A0Q0k6WRXrlIjZEdJokuNMPX7M4Q3HhMj+99Na5nT0OR47TqLzuFHUUXNWDFcbU NZrw== X-Gm-Message-State: AOAM530pJrS6Doi3uGP0V1bot1zw9r99BSeZB9UuNx2Qt3vCAQfLyORL /M1KeXwOKZVeULij1MeZ6kCosFrjWcHslWriG90= X-Received: by 2002:a17:907:2082:: with SMTP id pv2mr1374764ejb.188.1597353406609; Thu, 13 Aug 2020 14:16:46 -0700 (PDT) MIME-Version: 1.0 References: <20200326203637.1892-1-dsmythies@telus.net> In-Reply-To: <20200326203637.1892-1-dsmythies@telus.net> From: Len Brown Date: Thu, 13 Aug 2020 17:16:35 -0400 Message-ID: Subject: Re: [PATCH] tools/power/x86/turbostat: Always print idle in the system configuration header To: Doug Smythies Cc: Doug Smythies , Linux Kernel Mailing List , Linux PM list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. thanks! -Len On Thu, Mar 26, 2020 at 4:36 PM Doug Smythies wrote: > > If the --quiet option is not used, turbostat prints a useful system > configuration header during startup. Inclusion of idle system configuration > information is a function of inclusion in the columns choosen to be displayed. > > Always list the idle system configuration. > > Signed-off-by: Doug Smythies > --- > tools/power/x86/turbostat/turbostat.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c > index 33b370865d16..834b86676d00 100644 > --- a/tools/power/x86/turbostat/turbostat.c > +++ b/tools/power/x86/turbostat/turbostat.c > @@ -3530,9 +3530,6 @@ dump_sysfs_cstate_config(void) > int state; > char *sp; > > - if (!DO_BIC(BIC_sysfs)) > - return; > - > if (access("/sys/devices/system/cpu/cpuidle", R_OK)) { > fprintf(outf, "cpuidle not loaded\n"); > return; > -- > 2.25.1 > -- Len Brown, Intel Open Source Technology Center