Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp668978pxa; Thu, 27 Aug 2020 12:27:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGTamd57F4MLD2rKrSfVUzHPaGqK6++yiAF/uuaWRPs69eQltsFHgAAbehPzjcbg/jz0O1 X-Received: by 2002:a17:906:a109:: with SMTP id t9mr24128825ejy.134.1598556447984; Thu, 27 Aug 2020 12:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598556447; cv=none; d=google.com; s=arc-20160816; b=cCfZrooNlm3l3FcMxJRoobH1lRxJOLMU/yqIU2HdhRoC6KYIt0mYd5aBRRNm4qFPgq ZqTjxbGyL8n88dEtlkSx6xQHOqP7J4yI7fjFhX9Gb0VoW/D352KgzLnd5C+RIVqY/HFR Zz/pmD0HtJobCoX8A9Z/FCkL5457ewBoTLvDqKXBEyMARB4zpOosJTfVqUEXOegU/GG9 NTCwAaZ9jiys6/dR08ZCz/9Cxpde0su5Kx+sDiTjzq34Bmsqr3ECj5TN+kR8NTfrdOab gVuZdKlHbjVcjbOEPqtDJMtiyqcm9wqUk0ABWRqEBp6MdiUd1YbbOwN7s1I86CCCtVn5 5GBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:date:in-reply-to:message-id :subject:cc:to:from:user-agent:references; bh=ZSECPN4Za6c7PQrZ6KK5JDI0qzrt8oIJVuGpQKPK6cA=; b=wVxm9Lz9R14btHnEgjuunnDtEUUdTmHdCC5Fc7I6ZMJsCH9Y+G8Me4kbiSLcCN1h5S ZyoveAceGLx5hV8uggMZRl1kPDW17mBLbRXJ/a7Bwz5vdD/V0PMjjr9wOiE2cBv9+YhK FPgcJwClZP75mu1KatFRs4K1kMYVz5LahfFhDGmPAtvYbw4T/VTUkFsieheWJwl4VhBn HGEnUV4+48VOuk4G7jysgXDoTTWxRVGUFfX3RdnfpllSwGM1E/olODDtOYfklw+V8lkG BOEIyQPCXYFuTvkRrVjQXMOaehCCbzWc7upcIylP+5WAvAz10KhHXk4jZ//VffoCt3M3 9pOw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bm19si1876530ejb.332.2020.08.27.12.27.05; Thu, 27 Aug 2020 12:27:27 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726858AbgH0TYN (ORCPT + 99 others); Thu, 27 Aug 2020 15:24:13 -0400 Received: from foss.arm.com ([217.140.110.172]:33610 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbgH0TYN (ORCPT ); Thu, 27 Aug 2020 15:24:13 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A70EC31B; Thu, 27 Aug 2020 12:24:10 -0700 (PDT) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 558AD3F68F; Thu, 27 Aug 2020 12:24:09 -0700 (PDT) References: <1598542538-46278-1-git-send-email-vincent.donnefort@arm.com> <202008280326.O6kOHfWU%lkp@intel.com> User-agent: mu4e 0.9.17; emacs 26.3 From: Valentin Schneider To: kernel test robot Cc: mingo@redhat.com, peterz@infradead.org, vincent.guittot@linaro.org, kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, dietmar.eggemann@arm.com, qais.yousef@arm.com, Vincent Donnefort Subject: Re: [PATCH] sched/debug: Add new tracepoint to track cpu_capacity Message-ID: In-reply-to: <202008280326.O6kOHfWU%lkp@intel.com> Date: Thu, 27 Aug 2020 20:24:03 +0100 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/08/20 20:08, kernel test robot wrote: > All errors (new ones prefixed by >>): > >>> kernel/sched/fair.c:11314:18: error: no member named 'cpu_capacity' in 'struct rq' > return rq ? rq->cpu_capacity : -1; > ~~ ^ > 1 error generated. > The joys of !SMP; you'll want to wrap this in an #ifdef CONFIG_SMP like some of the other TP's. The !SMP case can probably return SCHED_CAPACITY_SCALE for the sake of pedantism, AFAICT that TP can't fire on !SMP (that, or only define it for SMP).