Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2048065imj; Sun, 17 Feb 2019 22:04:51 -0800 (PST) X-Google-Smtp-Source: AHgI3IYWK0IhbpX5X34wykB83LbeCcKpf5Fg2Tt4nRFirBSIAehZYX/kn3dWDxIvI2NmoJAC4P02 X-Received: by 2002:a17:902:20e9:: with SMTP id v38mr22879216plg.250.1550469890988; Sun, 17 Feb 2019 22:04:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550469890; cv=none; d=google.com; s=arc-20160816; b=RWiEoQzAamncPREaFwaDl7sdd+h6QDSaEhztLSFOgXbwBj/xsOPWdNN87FGGmymoCQ qpMY5FYBSKbmpNc2ht0E0AWgaa+0FDzU0+Cb+Jo2UdeXGM34JYagD2FvEcnKlPKutPT5 bNEsfChQ1hCH/qIlCXAzu81MJWJXHrbLPznlOsQmNKqf3IMoyQV5kB45g5FSIW+Pg7a5 4rpPYdZYlSTRwX2+qyJqOwhKuWdQg10m5JRGm6FRmqWcEm6v3oKKR+mAFEqdiy+VfAic xlnUZsmK23MyQJVJwKY3FE84DCfXNjFY8jqZ6kq0ePMHvyvF6NAJSU7SxZmQecczdNAV 5Kzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=pT7r93x8NOS0V+1AX3aAlXFD9FZIViA0ImorjW4h91g=; b=qhWUroudYLhnNZQsUDWA8lWXAhNPbFbguv4LB+NuTxFIJTXcBg6KDVEHBSvsLLmolo pIIDdZaFOpEXUmEwTrVWTsz/rOQGwtMNcUM1coFRRv1M4IvPb2Jo6imdBgorjgnIYe/d BJ3GJidIrz/l0wQqztlC/RqozF83VY76pOHz90v3iaGPyQr67brA/dDbccQC7xH87XPI 2DWha0oR7ZSJNVj373LP4iOsxGrn/8VJWnSKvSQolhGOouQz/I6ofjUmkgmvY08boaRT 1iLJq8F+PB8xdDH7hgdv0ZOQ3LvxvV1R/yvgVb34fcwc6pjWmtttT0grEmp+P7Zy81iv jZmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=EchuLGh+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11si12530679plo.254.2019.02.17.22.04.35; Sun, 17 Feb 2019 22:04:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=EchuLGh+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725989AbfBRFgr (ORCPT + 99 others); Mon, 18 Feb 2019 00:36:47 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:30701 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725822AbfBRFgr (ORCPT ); Mon, 18 Feb 2019 00:36:47 -0500 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20190218053642epoutp017248e736c6cb5d4b51ce6d1ed0147203~EXp1-55kt0381803818epoutp01d for ; Mon, 18 Feb 2019 05:36:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20190218053642epoutp017248e736c6cb5d4b51ce6d1ed0147203~EXp1-55kt0381803818epoutp01d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1550468202; bh=pT7r93x8NOS0V+1AX3aAlXFD9FZIViA0ImorjW4h91g=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=EchuLGh+1rGBwOcgsIFv3Uz5rA0eoLRg/TNmQAtcTlShZBg8Fglsm40u/oYSfr7K3 XddSEMiLV0dBS62gKoCEzfKkceWA53O3KjeOHGOHrECcjFvs4Z+iohT/G2RSwGxLgj yINt2mUJH4x5TPyOdLgBSz/w/W/Byf2YQ/0/GpxQ= Received: from epsmges1p1.samsung.com (unknown [182.195.40.157]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20190218053639epcas1p1dbb3da50081d4a07a347c323522293cd~EXpzezAAI0901809018epcas1p1-; Mon, 18 Feb 2019 05:36:39 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id DA.5D.04074.7644A6C5; Mon, 18 Feb 2019 14:36:39 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20190218053639epcas1p47275220703fd351b7ed30c311c474e22~EXpzKcjOr0130001300epcas1p4r; Mon, 18 Feb 2019 05:36:39 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190218053639epsmtrp25e7ac7b6e4d7c2f3f5cc9afe8a4ebf03~EXpzJK5_g2423724237epsmtrp28; Mon, 18 Feb 2019 05:36:39 +0000 (GMT) X-AuditID: b6c32a35-297ff70000000fea-a3-5c6a4467ae6f Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 3C.96.03971.7644A6C5; Mon, 18 Feb 2019 14:36:39 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190218053638epsmtip290a703178da3a6c2ecdd6bb3823e8e59~EXpy7QlGA3020630206epsmtip2a; Mon, 18 Feb 2019 05:36:38 +0000 (GMT) Subject: Re: [PATCH v2 2/2] drivers: devfreq: add tracing for scheduling work To: Lukasz Luba , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: b.zolnierkie@samsung.com, myungjoo.ham@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, mka@chromium.org, rostedt@goodmis.org, mingo@redhat.com From: Chanwoo Choi Organization: Samsung Electronics Message-ID: <0c03a781-5a81-46ab-9e92-9534e72c4201@samsung.com> Date: Mon, 18 Feb 2019 14:36:38 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <1550235913-5189-3-git-send-email-l.luba@partner.samsung.com> Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLJsWRmVeSWpSXmKPExsWy7bCmvm66S1aMwfJLshYbZ6xntTjb9Ibd 4laDjMXlXXPYLD73HmG0WHvkLrvFpQMLmCw+b3jMaHG7cQWbxb6OB0wWh9+0szpwe8xuuMji 0bLvFrvHwXd7mDze77vK5tG3ZRWjx+dNcgFsUdk2GamJKalFCql5yfkpmXnptkrewfHO8aZm Boa6hpYW5koKeYm5qbZKLj4Bum6ZOUDnKSmUJeaUAoUCEouLlfTtbIryS0tSFTLyi0tslVIL UnIKLAv0ihNzi0vz0vWS83OtDA0MjEyBChOyMzru3mAuaOSsuLFpOmsD40r2LkZODgkBE4kb bZOAbC4OIYEdjBJ3V+5ng3A+MUpM37+GFcL5xigxZVUDE0zLld2XmCESexklHl1sZIJw3jNK vPs6B2ywsIC/xJSZTWC2iECaxNv2u2BFzAIHgDpWrgBLsAloSex/cYMNx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IDYnAJeEl+fnGeB 2KUu8WcexP3MAuISt57MZ4Kw5SWat85mnsAoPAtJ+ywkLbOQtMxC0rKAkWUVo2RqQXFuem6x YYFhXmq5XnFibnFpXrpecn7uJkZw7Glp7mC8vCT+EKMAB6MSD++HsswYIdbEsuLK3EOMEhzM SiK8uxyzYoR4UxIrq1KL8uOLSnNSiw8xSnOwKInzPs07FikkkJ5YkpqdmlqQWgSTZeLglGpg bNPu3fLfZGfU7RkXI4JkOC69tpz9QUreR7Fdd33dWwbW3benSQls+jPR0flK0UqvwztWLP33 d5vZ+tuVO92nW1vMEbtqIXDR+sKJXqXq13NfFgqc1kvlzZ795O4CZs3ksvNiRYICxoeK5lUp H4h27VX9mx64IvVM/+RNu47H1DDGTV5/0X2PsBJLcUaioRZzUXEiALiMLNK5AgAA X-CMS-MailID: 20190218053639epcas1p47275220703fd351b7ed30c311c474e22 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190215130555eucas1p297d048d01902e2bb88e6db158d53fd88 References: <1550235913-5189-1-git-send-email-l.luba@partner.samsung.com> <1550235913-5189-3-git-send-email-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lukasz, On 19. 2. 15. 오후 10:05, Lukasz Luba wrote: > This patch add basic tracing of the devfreq workqueue and delayed work. > It aims to capture changes of the polling intervals and device state. > > Signed-off-by: Lukasz Luba > --- > drivers/devfreq/devfreq.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c > index 0ae3de7..660365a 100644 > --- a/drivers/devfreq/devfreq.c > +++ b/drivers/devfreq/devfreq.c > @@ -29,6 +29,9 @@ > #include > #include "governor.h" > > +#define CREATE_TRACE_POINTS > +#include > + > static struct class *devfreq_class; > > /* > @@ -394,6 +397,8 @@ static void devfreq_monitor(struct work_struct *work) > queue_delayed_work(devfreq_wq, &devfreq->work, > msecs_to_jiffies(devfreq->profile->polling_ms)); > mutex_unlock(&devfreq->lock); > + > + trace_devfreq_monitor(devfreq); > } > > /** > Looks good to me. Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics