From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4836E1CA81 for ; Wed, 22 Jan 2025 00:42:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737506538; cv=none; b=tT0fZywr/JDD+hY8Lz3+izdtpt8Pe0NUdugNnIUW3S/hibWOMI5XrOB0j6eEihrsKGx+thFoS/by+v+s6J8NIAleuo7/yJxkc+rOlq7AOwODPdL9b7e/S8edbahV44RS9PXH+gxMxok671ZHDWRrIjrvKcZrAxLn60XG6zpuiQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737506538; c=relaxed/simple; bh=5Muen15S1AflgQk5q7tRl3THMFg/E8ZJLKmOPSB3HrQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YF/8jiPHHwrRyb+uCYi62fZdDMSZDir/vep+HhZR8bt0TlxUWbJDUIBYM/1WUdduYNKtIuxDx7cthQmADisYbXHdyDLjbX1WH8vfMwBkGSGmIpDtysuu9pQc4bjpH/7un926vYt7ves/glz9p2ZHLEiOg9+l5qutV265lCHpaOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=K38E30Um; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="K38E30Um" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3A3CC4CEF0; Wed, 22 Jan 2025 00:42:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1737506538; bh=5Muen15S1AflgQk5q7tRl3THMFg/E8ZJLKmOPSB3HrQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K38E30UmI7TeWMv+hbSIbxz6R1ZLuZyo9V4SIyYH/Jm3GKM1pYmuXKbhQt3S1wpC+ Kn4kNcEPXebdxCmkRBQ7DiDODiIijK86ji82Bd394DeK3xkmShk6pF9rwic9dedghE ZsOhK4k3rlhQxNqzeDZwEtueMOnpuMD/AZ8Fcce1675tEV33yj2keNYxkcu76gMfhS KbdhJpKSCfludVBaPShQUK7jffNDwa1xtmZzQEXL8sSmtLXLPranbNJXH6JxJpWetN SJJF030gI1yHXwRWLKLocHc2HM9OWGG6/cSDllqaCwzq8IMuh0tbGTS4gSazYDDMJD wqdxqBVNf/FTw== Date: Tue, 21 Jan 2025 14:42:16 -1000 From: Tejun Heo To: Changwoo Min Cc: void@manifault.com, arighi@nvidia.com, kernel-dev@igalia.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/7] sched_ext: Implement event counter infrastructure and add an event Message-ID: References: <20250116151543.80163-1-changwoo@igalia.com> <20250116151543.80163-2-changwoo@igalia.com> <16a9e631-22c0-454a-b56f-c5206ec3d1dc@igalia.com> <0c77afb9-1768-4141-8d92-d38097c4df0b@igalia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0c77afb9-1768-4141-8d92-d38097c4df0b@igalia.com> Hello, On Sat, Jan 18, 2025 at 09:27:18AM +0900, Changwoo Min wrote: ... > Could you explain more on the code dumping? I want at least print > the event string for easier interpretation. I meant that we don't need to the enums to print out the counters. e.g. we can just do: dump_line(&s, "selcpu_inval: %16llu dsp_keep_last: %16llu", events.select_cpu_inval, events.dispatch_keep_last); Thanks. -- tejun