lkml.org 
[lkml]   [2020]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] PM / devfreq: Add devfreq_frequency tracepoint to track frequency change
Date
Add devfreq_tracepoint to track the correct timing of frequency change
with following information:
- device name
- current frequency
- previous frequency
- load when change frequency
- tracepoint path : /sys/kernel/debug/tracing/events/devfreq_frequency

And add devfreq_update_target() function to unify the frequency change code
on both devfreq core and devfreq passive governor because there are redundant
duplicate code. Lastly, Use fixed indentation size to improve readability
for 'devfreq_monitor' tracepoint.

Matthias already sent the patch[1]. Make patch3 by editing patch[1].
[1]https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2108015.html

Chanwoo Choi (2):
trace: events: devfreq: Use fixed indentation size to improve readability
PM / devfreq: Unify frequency change to devfreq_update_target func

Matthias Kaehlcke (1):
PM / devfreq: Add tracepoint for frequency changes

drivers/devfreq/devfreq.c | 37 +++++++++++++++++++++-----
drivers/devfreq/governor.h | 1 +
drivers/devfreq/governor_passive.c | 42 +++++++-----------------------
include/trace/events/devfreq.h | 30 ++++++++++++++++++++-
4 files changed, 70 insertions(+), 40 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2020-10-08 09:41    [W:0.048 / U:0.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site