Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754660AbdC1H4s (ORCPT ); Tue, 28 Mar 2017 03:56:48 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:44145 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753989AbdC1H4q (ORCPT ); Tue, 28 Mar 2017 03:56:46 -0400 Date: Tue, 28 Mar 2017 09:56:22 +0200 From: Peter Zijlstra To: Dietmar Eggemann Cc: Ingo Molnar , LKML , Matt Fleming , Vincent Guittot , Steven Rostedt , Morten Rasmussen , Juri Lelli , Patrick Bellasi Subject: Re: [RFC PATCH 2/5] sched/events: Introduce cfs_rq load tracking trace event Message-ID: <20170328075622.ywdm6rh75zmhv3id@hirez.programming.kicks-ass.net> References: <20170328063541.12912-1-dietmar.eggemann@arm.com> <20170328063541.12912-3-dietmar.eggemann@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170328063541.12912-3-dietmar.eggemann@arm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 23 On Tue, Mar 28, 2017 at 07:35:38AM +0100, Dietmar Eggemann wrote: > The trace event keys load and util (utilization) are mapped to: > > (1) load : cfs_rq->runnable_load_avg > > (2) util : cfs_rq->avg.util_avg > > To let this trace event work for configurations w/ and w/o group > scheduling support for cfs (CONFIG_FAIR_GROUP_SCHED) the following > special handling is necessary for non-existent key=value pairs: > > path = "(null)" : In case of !CONFIG_FAIR_GROUP_SCHED. > > id = -1 : In case of !CONFIG_FAIR_GROUP_SCHED. > > The following list shows examples of the key=value pairs in different > configurations for: > > (1) a root task_group: > > cpu=4 path=/ id=1 load=6 util=331 What's @id and why do we care?