From: Lukasz Luba <l.luba@partner.samsung.com>
To: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Cc: b.zolnierkie@samsung.com, myungjoo.ham@samsung.com,
cw00.choi@samsung.com, kyungmin.park@samsung.com,
m.szyprowski@samsung.com, s.nawrocki@samsung.com,
mka@chromium.org, rostedt@goodmis.org, mingo@redhat.com,
Lukasz Luba <l.luba@partner.samsung.com>
Subject: [PATCH 0/2] tracing: drivers: devfreq: add basic trace mechanism
Date: Thu, 14 Feb 2019 19:57:54 +0100 [thread overview]
Message-ID: <1550170676-14173-1-git-send-email-l.luba@partner.samsung.com> (raw)
In-Reply-To: <CGME20190214185807eucas1p10432f753eeb3ce7c3e9ce8245a3aee20@eucas1p1.samsung.com>
Hi all,
This patch set adds support for tracing in devfreq framework. It is related
to the discussion regarding devfreq workqueue mechanism and wake-ups.
These two tracing patches have been submitted in larger patch set, which
needs more discussion. For the further discussion and development there
is a need of measurements/testing, though. It was agreed that trace events
would help. The whole discussion is here [1].
With these patches it is possible to capture current behaviour for the
devfreq subsystem and devices such as when and which workqueue is used,
on which CPU, what is the load and frequency of the device.
A few comments for the first version has been addressed here:
- moved long '/' operation to post-processing phase, according to Seven's
comments [2]
- re-ordered fields in the structure to avoid holes, according to Seven's
comments [3]
- removed unneeded variable, according to Chanwoo's comment [4]
I did not dare to add 'Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>'
for the 1st patch, which was in [5], since the code slightly changed.
The 2nd patch has it.
Regards,
Lukasz Luba
[1] https://lkml.org/lkml/2019/2/12/1179
[2] https://lkml.org/lkml/2019/2/12/1201
[3] https://lkml.org/lkml/2019/2/13/532
[4] https://lkml.org/lkml/2019/2/13/1587
[5] https://lkml.org/lkml/2019/2/14/2
Lukasz Luba (2):
trace: events: add devfreq trace event file
drivers: devfreq: add tracing for scheduling work
MAINTAINERS | 1 +
drivers/devfreq/devfreq.c | 8 ++++++++
include/trace/events/devfreq.h | 42 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 51 insertions(+)
create mode 100644 include/trace/events/devfreq.h
--
2.7.4
next parent reply other threads:[~2019-02-14 18:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20190214185807eucas1p10432f753eeb3ce7c3e9ce8245a3aee20@eucas1p1.samsung.com>
2019-02-14 18:57 ` Lukasz Luba [this message]
[not found] ` <CGME20190214185809eucas1p219acc085fd241f3f685e52cb5534f905@eucas1p2.samsung.com>
2019-02-14 18:57 ` [PATCH 1/2] trace: events: add devfreq trace event file Lukasz Luba
[not found] ` <CGME20190214185811eucas1p1e2f44d59495296fbfed42f28a2c897a0@eucas1p1.samsung.com>
2019-02-14 18:57 ` [PATCH 2/2] drivers: devfreq: add tracing for scheduling work Lukasz Luba
2019-02-14 19:07 ` Steven Rostedt
2019-02-15 11:47 ` Lukasz Luba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1550170676-14173-1-git-send-email-l.luba@partner.samsung.com \
--to=l.luba@partner.samsung.com \
--cc=b.zolnierkie@samsung.com \
--cc=cw00.choi@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=mingo@redhat.com \
--cc=mka@chromium.org \
--cc=myungjoo.ham@samsung.com \
--cc=rostedt@goodmis.org \
--cc=s.nawrocki@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®