Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2986150rwd; Mon, 22 May 2023 07:10:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MyR/TuSVUpSYysyakIMQvLZS/T5+OTzoxfhf8rWwwQQ7sfzDS8Sa7WKzbotSEu7IL1yIJ X-Received: by 2002:a05:6a20:3c8e:b0:100:a201:83ce with SMTP id b14-20020a056a203c8e00b00100a20183cemr12122739pzj.9.1684764609722; Mon, 22 May 2023 07:10:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684764609; cv=none; d=google.com; s=arc-20160816; b=KlzUfoZG+J+7giFrHwIFsQTUtSCfFC4OBG+t9PwP/UkWIfRkdwsmuSIfaOShY4BOj4 Ek0txCrImmaNiECQH+//lOpOgI6zPKmyEcK7BM12UoP++XXy+XnEddbGO1NZt96hor3N APGBvqNr+b5ESRkEKW6RV0mOFL2r0xuhU714vo2QK+9xN+QTqMk4rbGHblt7EEG1DUqd CxVMOdrIuy7Fbunx3bL5G7Vl1EkILOBZBaaF87oeK9Sy7chXNKBgxM0AUd8XnFHlOSXD pgfIY8lgO4czXUSPfH3BE90vF3szYzqn3R7z+Ytdo9mbENAid+FD7XY7w+dCuRA9KVp5 Y+IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=1LNSELngDCitFf4MjQ+TlxNzrqagsY36+atbEB0Dypw=; b=LcbutNNyNFGnnKXXhSrMylpAeHPYkiX8vRpgPzwVDDDPD1Tk6tuevbH7TYxaIT2i49 ohB85Ud1Wyn1DO2J24hvbtKUVNwK9AWvMn3+X7MtuqXyz/qHMZUXN2Uvp9STl9EVku6j Q2U11g2OVgLU89Fhf82NGd8iFrFm4r1WWzl6cw0U+9smsXkgOqV2WYjLuDWIsPGQKwlo msxICnFG/55g4Dyy16I/QJ8jQu2h3NJhw9qWnrH2LlXTQSXeO987bLgN1dyfj8js7ZV3 4Dy/+1rGGvxveKF5oShi7grlePP71Guakd3NsZaGxpLcxnisUaknUGaXj2NpCqSbhqZq bSjQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a63fa49000000b00524eef20da6si4897583pgk.642.2023.05.22.07.09.56; Mon, 22 May 2023 07:10:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233450AbjEVNiq (ORCPT + 99 others); Mon, 22 May 2023 09:38:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231134AbjEVNip (ORCPT ); Mon, 22 May 2023 09:38:45 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 36CF1CD; Mon, 22 May 2023 06:38:44 -0700 (PDT) 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 AD12511FB; Mon, 22 May 2023 06:39:28 -0700 (PDT) Received: from [10.57.22.146] (unknown [10.57.22.146]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D78173F67D; Mon, 22 May 2023 06:38:40 -0700 (PDT) Message-ID: <88fcd266-301a-f6e1-cf1c-69c20e74ef35@arm.com> Date: Mon, 22 May 2023 14:38:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 0/3] Add basic tracing for uclamp and schedutil Content-Language: en-US To: "Rafael J. Wysocki" Cc: rostedt@goodmis.org, mhiramat@kernel.org, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, delyank@fb.com, qyousef@google.com, qyousef@layalina.io, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org References: <20230509122246.1702397-1-lukasz.luba@arm.com> From: Lukasz Luba In-Reply-To: <20230509122246.1702397-1-lukasz.luba@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rafael, On 5/9/23 13:22, Lukasz Luba wrote: > Hi all, > > The task scheduler feature: Uclamp, begins to take off. To better understand > the dynamics in the task scheduler and CPU frequency requests we need some > better tracing. > In schedutil (cpufreq governor) we allow to enter the scheduler > and make the frequency change. Although, there is some limit in regards to how > often this can happen. That min period is provided by the cpufreq driver. > Thus, some of the cpufreq requests might be filter out and the frequency won't > be changed (hopefuly will be set a bit later). We would like to know about > those situations, especially in context of the user-space hints made via > Uclamp for particular tasks. > This patch set aims to add base for our toolkits and post-processing trace > analyzes. > > Changelog: > v2: > - solved the issue from CI build warning, dropped schedutil.h and re-used > the sched.h which is available in build_utility.c where cpufreq_schedutil.c > is included > - added tag for the last patch 3/3 for the CI robot helping hend > - re-based on top of v6.4-rc1 > v1: > - implementation can be found here [1] > I was going to gently ping you, while I've realized that you are not on CC list :( I don't know what happened, my apologies. Shell I resend this patch set so you can have it in a proper way in your mailbox? Could you have a look at this, please? This is getting more attention, since in Android we have a daemon which can now communicate with the kernel and send those Uclamp values on behalf of an unprivileged app. Regards, Lukasz