Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3059482imj; Mon, 18 Feb 2019 18:47:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IaoG5OCDMcXPxejtJg53u1Ii9Tzz+9OOGuEdShwsmYC6ryfjuAbguYSgixnWi86ylBQlQPa X-Received: by 2002:a63:c0e:: with SMTP id b14mr25692199pgl.236.1550544468590; Mon, 18 Feb 2019 18:47:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550544468; cv=none; d=google.com; s=arc-20160816; b=F9BL7K3xk3dCuUfzqqRNaQbZJSXYZ7U4raKfda4P9NbV0UFPaSTfYhe+ov5afat1Om HaE8IEihRB+KFqOmNwNpPRaind6NDo80Fn/V4IarNep3vb/c9qO7k8+0hB4P5Ve4oBN2 4h2McKSKTo260LrNwKyzzYndON2oqDXXtS3G4M8Mrz/8q5Hcl85YevlTB9gzNgJohFtX X+B0B9KmN5Pj7WrIC2F8ClCOuzO2ZETYIdx7ya96kVKTLnx6WaTT8kfDCOmyESk+47lq Sxep8gbAoQMGTPSSsSAwdC5DcVT8SRcv7rxafJXP0b2bPeSpnobH4Ex5PjodEUfALz8Q M4rw== 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=l+jRIOnhBy1n7I7NtMxw0HLfsC2SBtfejVAtrW5T3GY=; b=Ql29O9wYXCQF3ByityYbYpPZVV1YgNcM3sJv9JmXvY3g9DfUVS6u9t1ic8QTOTFkBb F/j1p7nsH7mpEE0LUMkB8peTsF3leokOqxUwtRJ+SpvTwVSRak6fJhk/5iyjnJNh2PWn lC+Ye0nl678q/iSEy7UA2MK5ZBNXJqcdRhaO+GM6QkpTdKqcLr1do+yBD7vu0fI94bFZ T2jNl1cEsvjKYl/QWMj1kf9jkIAmB9VBkMD9CxnCVhpiDuhVyJKPi+y41GMnrnzwHg+S qCp5OuTlz9iGY9m7XQCfVQvbGR+E32ADC+p7kA6edWL6VNnynZN5nkGmt7bQyEF7+RhE GaEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=HjKnRwFk; 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 d8si14476885pgh.505.2019.02.18.18.47.33; Mon, 18 Feb 2019 18:47:48 -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=HjKnRwFk; 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 S1732226AbfBSA21 (ORCPT + 99 others); Mon, 18 Feb 2019 19:28:27 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:31874 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732177AbfBSA20 (ORCPT ); Mon, 18 Feb 2019 19:28:26 -0500 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20190219002824epoutp01e964626a44aa6e17d30fc05a653a9c84~EnF82NJjk2266522665epoutp01S for ; Tue, 19 Feb 2019 00:28:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20190219002824epoutp01e964626a44aa6e17d30fc05a653a9c84~EnF82NJjk2266522665epoutp01S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1550536104; bh=l+jRIOnhBy1n7I7NtMxw0HLfsC2SBtfejVAtrW5T3GY=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=HjKnRwFkNWSqisN2QFgaXji/TPvpXttK0NEONlwmPvGHemeNhUecsySlWY1gfklNW NorE+79aoISWe5GzzuZAJb49nFId83pzYh23ClhRqG38HIUBqMJUK3PelUSg1/roJA ZovgtA6DVS10F25iGUodDKMWpVp7bM1t+w6nhOgg= Received: from epsmges1p3.samsung.com (unknown [182.195.40.154]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20190219002821epcas1p27839f95f508e4b84d8c47d363d720009~EnF6GgeJR0573305733epcas1p29; Tue, 19 Feb 2019 00:28:21 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 33.8D.04069.5AD4B6C5; Tue, 19 Feb 2019 09:28:21 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190219002821epcas1p14486ed9c4a1fbb892ff03601fa109437~EnF5u5AgJ1685516855epcas1p11; Tue, 19 Feb 2019 00:28:21 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190219002821epsmtrp1a2bfd5b2b034f7e468f030377f00f1b3~EnF5tp2Be1032510325epsmtrp1N; Tue, 19 Feb 2019 00:28:21 +0000 (GMT) X-AuditID: b6c32a37-989ff70000000fe5-c0-5c6b4da5a8b7 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id C4.15.03971.4AD4B6C5; Tue, 19 Feb 2019 09:28:20 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190219002820epsmtip20a66b7f1508ba1b2253bbdd4a8d282e8~EnF5dyhbC3134931349epsmtip2V; Tue, 19 Feb 2019 00:28:20 +0000 (GMT) Subject: Re: [PATCH v3 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: <2bc86822-9861-66d5-0a7e-d3d45494772c@samsung.com> Date: Tue, 19 Feb 2019 09:28:20 +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: <1550514069-9237-3-git-send-email-l.luba@partner.samsung.com> Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHJsWRmVeSWpSXmKPExsWy7bCmvu5S3+wYg9fvJSw2zljPanG26Q27 xa0GGYvLu+awWXzuPcJosfbIXXaLSwcWMFl83vCY0eJ24wo2i30dD5gsDr9pZ3Xg9pjdcJHF o2XfLXaPg+/2MHm833eVzaNvyypGj8+b5ALYorJtMlITU1KLFFLzkvNTMvPSbZW8g+Od403N DAx1DS0tzJUU8hJzU22VXHwCdN0yc4DOU1IoS8wpBQoFJBYXK+nb2RTll5akKmTkF5fYKqUW pOQUWBboFSfmFpfmpesl5+daGRoYGJkCFSZkZ+w5toSx4C1Hxdqpp9gaGGexdzFyckgImEis fbyWtYuRi0NIYAejxN7Fc5kgnE+MEu8Wv4JyvjFK3Lg9jQ2m5cyjw4wQib2MEkvnLYNy3jNK 3GyfxQhSJSzgL3Hw8FewDhGBNIm37XfBRjELHGCUeLRyBdh2NgEtif0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uo8JokRQ4uTMJywgNqeAl8TjnidM ELvUJf7Mu8QMYYtL3HoyHyouL9G8dTbzBEbhWUjaZyFpmYWkZRaSlgWMLKsYJVMLinPTc4sN CwzzUsv1ihNzi0vz0vWS83M3MYJjT0tzB+PlJfGHGAU4GJV4eBcsz4oRYk0sK67MPcQowcGs JMK7yDM7Rog3JbGyKrUoP76oNCe1+BCjNAeLkjjv07xjkUIC6YklqdmpqQWpRTBZJg5OqQbG 2VG9PyMWZvrPemZysuRaMycbj07pi1kqvhtned1be0ih7n3Qn3zhz16X2t91n8u4tLVo4ZP2 P8p8aZM+nxA/u/c1t+eLaqZZC7sD910pt/BULJe9PzWjSHeBJHtlFmutksv9nG+ck2+t6dCd l7jY5SbLtL6QL1OMuo7rtp7yCvjCzHS2JnWJEktxRqKhFnNRcSIApKYYHrkCAAA= X-CMS-MailID: 20190219002821epcas1p14486ed9c4a1fbb892ff03601fa109437 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190218182129eucas1p1804530445570fc73af89ed46b9a448b9 References: <1550514069-9237-1-git-send-email-l.luba@partner.samsung.com> <1550514069-9237-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. 19. 오전 3:21, 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); > } > > /** > Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics