From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0147BC3A5A7 for ; Wed, 4 Sep 2019 13:13:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C9F7C2168B for ; Wed, 4 Sep 2019 13:13:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="q6ZKJdu2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730260AbfIDNNm (ORCPT ); Wed, 4 Sep 2019 09:13:42 -0400 Received: from merlin.infradead.org ([205.233.59.134]:34080 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729471AbfIDNNm (ORCPT ); Wed, 4 Sep 2019 09:13:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cXCf42xtle0EmjyzUVcJOfRd1eEygzlFDZq5fBPSMT4=; b=q6ZKJdu2E+jbmSZuvhZ/4m01oA Bwi+adJx6Hh6y1qymMKDxX3ikmY4A6PtodrMpOh4YbbfuTpclXtFfH76QjeBu3a7D30wSQcDNaYzP /fbN+UnW6X5eliJjCNBChmA8k2WlYiphtHp7IicClkEI5IW8HSJxCSXeq56v90yH7bEZkiYppnlAw Y93RQbcZAZs3HNbbSmnHJFsryEQ5sBiKE5lI7iktIXQfJ9hoRLWWS8WeL00Q43jGcuS39sp4oM6pI weSfRCL2cnG9Ge5yIxrj9HZSpK57Vhol5jQIyMVNMvjqeyDijBS3T8Jz5tcRmbNya5zxMy9EwhbvE skEYXgOw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i5V5z-0005av-EL; Wed, 04 Sep 2019 13:13:11 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id E1615303121; Wed, 4 Sep 2019 15:12:32 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 7EA5129D8ACE6; Wed, 4 Sep 2019 15:13:09 +0200 (CEST) Date: Wed, 4 Sep 2019 15:13:09 +0200 From: Peter Zijlstra To: Radim =?utf-8?B?S3LEjW3DocWZ?= Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Thomas Gleixner , Borislav Petkov , Dave Hansen , Steven Rostedt , "H. Peter Anvin" , Andy Lutomirski , Jirka =?iso-8859-1?Q?Hladk=FD?= , =?utf-8?B?SmnFmcOtIFZvesOhcg==?= , x86@kernel.org Subject: Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint Message-ID: <20190904131309.GS2332@hirez.programming.kicks-ass.net> References: <20190903154340.860299-1-rkrcmar@redhat.com> <20190903154340.860299-3-rkrcmar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190903154340.860299-3-rkrcmar@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 03, 2019 at 05:43:40PM +0200, Radim Krčmář wrote: > Red Hat adapted one of them for the tracepoint framework and created a > tool to plot a heatmap of nr_running, where the sched_update_nr_running > tracepoint is being used for fine grained monitoring of scheduling > imbalance. You should be able to reconstruct this from wakeup and switch tracepoints.