Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp407559pxa; Wed, 12 Aug 2020 05:20:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ42Is0LdiOLK4oBQoFOsLEjNxDIzhC03baHd2zfEwYVVZKGPOsi/261A7bPgzGGc33Cjy X-Received: by 2002:a17:906:600f:: with SMTP id o15mr30075932ejj.529.1597234813816; Wed, 12 Aug 2020 05:20:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597234813; cv=none; d=google.com; s=arc-20160816; b=IdtrpoUcrGtoNYC/ksrSWalMeVS/DM8jeLPhHR4DpBeDc8WhcpJ2ORMbXPUEDuMPAh OJmzBhqZ3B6zfM7Ss0iJ8Yq4qrMKWgBD8/2qkxBLsC0IAX4TCi24urJMKMDv1PulmAC1 xTZHdJ0hiUJ51NgrKdpK2NuhNNjN+UyTK+eJ3pRa1uV5kQ33aNF2XW3mXZ2+PJPrRA// D5sOzoj1uaL9uu7iFo39Vkh3P5C34mNF920Cr5fn9ioKCPIjQdcJ5GLeHSmMAIRtASCc PDnlkcAz0w/2NvAVQz0dmKaXQtP2hj2mhv+MVgxhP++UsP60veC129WHCkMBwnuDMbTF do7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=DxNxcHXvM4OLXWPkXSgO0NH5NwxF8wzR98038zL1zqc=; b=FHgaIgubf9DdJewotSaJ6cTGRHK+qDAt18/ZPaWzVl6IpVDTx4D8r+53t3M1yxI+nT V1d1+zqUsMwvInq1yZUfClHfwKbv9dBtPhcrEEFoSeOWqtz2QtBb8DZxgODRXcFHIpoR GPTF9gVy0tlTDhk3ysS88nJs/yRr5/QibwKF3CUMHyi5hbh/cNKZSTvt40c4Tekb/M4v pIslYSUr6p3k8OdUGifJscg/iQC6MnvD1SqVdaZlkygmf0rTbmcE7On+lreS9MBC9o0D 5QFg3dyW9kb5+GSPEHeBJM1SmlWXMlxfkj2Ymm9ttLaZtVfrr6I/vWmCDVbK6isqdF0S DkxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KqcQHKE0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d12si1149580edy.226.2020.08.12.05.19.50; Wed, 12 Aug 2020 05:20:13 -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; dkim=pass header.i=@kernel.org header.s=default header.b=KqcQHKE0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726967AbgHLMTQ (ORCPT + 99 others); Wed, 12 Aug 2020 08:19:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:40772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726722AbgHLMTQ (ORCPT ); Wed, 12 Aug 2020 08:19:16 -0400 Received: from quaco.ghostprotocols.net (179.176.8.134.dynamic.adsl.gvt.net.br [179.176.8.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DB5C12245C; Wed, 12 Aug 2020 12:19:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597234756; bh=2V8LC8Z0fyID40kPZ6gRZzu3p05ZGHbpAZ1Q92ev8l8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KqcQHKE0mA1l2AxKzD7GuM3IX83UVBGGj+K096Y8ZUH3XJLt5IV/tVtEwlZLAjI6s 0DAB1PiPrzEIUmaW6QuJpWnVub5r+h9/QFHlrxz0nNrJhav/s+a6XtD/r3gt2AldBA RO5+TjYUrVI2HH+CvnuEyrGwJjbybzQPl0JPkrwU= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 84B7A403C6; Wed, 12 Aug 2020 09:19:13 -0300 (-03) Date: Wed, 12 Aug 2020 09:19:13 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: David Ahern , linux-kernel , Jiri Olsa Subject: Re: [PATCH 1/2] perf sched: Prefer sched_waking event when it exists Message-ID: <20200812121913.GF13995@kernel.org> References: <20200807164844.44870-1-dsahern@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Aug 11, 2020 at 03:42:45PM +0900, Namhyung Kim escreveu: > Hi David, > > On Sat, Aug 8, 2020 at 1:48 AM David Ahern wrote: > > > > Commit fbd705a0c618 ("sched: Introduce the 'trace_sched_waking' tracepoint") > > added sched_waking tracepoint which should be preferred over sched_wakeup > > when analyzing scheduling delays. > > > > Update 'perf sched record' to collect sched_waking events if it exists > > and fallback to sched_wakeup if it does not. Similarly, update timehist > > command to skip sched_wakeup events if the session includes > > sched_waking (ie., sched_waking is preferred over sched_wakeup). > > > > Signed-off-by: David Ahern > > Acked-by: Namhyung Kim Thanks, applied. - Arnaldo