powerdebug (0.7.0-2013.08-1)
[PTS] [DDPO]
NEW: VCS has unreleased changes: 0.7.1-2013.09-0 > 0.7.0-2013.08-1
- Git: git://git.linaro.org/tools/powerdebug.git
-
- Branch: master
- Path: debian/changelog
- Last scan: 2021-03-01 02:14:03+00
- Next scan: 2021-03-02 00:09:00+00
- Debian changelog in Git:
powerdebug (0.7.1-2013.09-0) precise; urgency=low
* fixed error shown clock rates
* fixed no refresh of regulator and sensor values after "R" key pressed.
-- shaojie.sun <shaojie.sun@linaro.org> Wed, 14 Aug 2013 18:34:23 +8000
- This branch is 23 commits ahead of tag powerdebug-0.7.3
- Git log:
commit 9cee8a5abe02cd6845f02dba8cc795aaad979ea0
Author: Thara Gopinath <thara.gopinath@linaro.org>
Date: Fri Jul 14 13:25:18 2017 -0400
Add support for Genpd.
This patch adds support to dump/display the powerdomain statistics
in powerdebug.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
commit 56f6178da2825ff6b9f894c0e2812591817718e7
Author: Thara Gopinath <thara.gopinath@linaro.org>
Date: Fri Jul 14 13:25:17 2017 -0400
Define file operations.
This patch adds functions for file open, file read line and
file close.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
commit e48aec79e8b75266562b9f0b6a8d5940f52765ae
Author: Thara Gopinath <thara.gopinath@linaro.org>
Date: Fri Jul 14 13:15:50 2017 -0400
Redefine the short option for findparents.
This patch changes the short option for findparents from -p to
-f so that -p can be used for power domains.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
commit 7dd9f3c7e20f0d123584d382c4b204bf4f9022c1
Author: Thara Gopinath <thara.gopinath@linaro.org>
Date: Fri Jul 14 13:15:49 2017 -0400
Add gpio option in the usage.
This patch adds info about -g/--gpio option in the usage section.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
commit 1a32ec046dbb85823eeb2fb965a594614473d719
Author: Thara Gopinath <thara.gopinath@linaro.org>
Date: Fri Jul 14 13:15:48 2017 -0400
Fix the numbering of display options.
The ordering of the display options was not matching with
the order of the windows defined in display.h causing GPIO and
CLOCK display to seg fault/not work. This patch fixes this issue.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
commit ce1acda61617d3ab02087f97a6b073b460399e32
Author: Thara Gopinath <thara.gopinath@linaro.org>
Date: Fri Jul 14 13:15:47 2017 -0400
Correct the format type for reading in regulator data
Some of the regulator info were being read in as an integer
to a character buffer which was causing the info to be garbled and
wrong. This patch fixes the issue by reading in the info as a string
and then converting it into integer.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
commit 569054ea21aee41d84e9b864c0c381ab9b988541
Author: Thara Gopinath <thara.gopinath@linaro.org>
Date: Fri Jul 14 13:15:46 2017 -0400
Check if terminal supports changing color definitions.
This patch adds the check whether the terminal supports colors
and allows changing color definitions before actually attempting to
redifine the color definitions. Without this check, attempting to
change color definitions in a color not supported terminal
causes a hang.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
commit d78818c4670e4ebc59ed98a5322fcee286e3b4fc
Author: Thara Gopinath <thara.gopinath@linaro.org>
Date: Fri Jul 14 13:15:45 2017 -0400
Initialize tree pointers in the dump only option
The regulator, gpio, sensor and clock tree pointers were
initialized only during the display option and not during the
dump only option. This meant the dump option was not printing
any info previously. This patch fixes it by initilaizing the
tree pointers during the dump only option.
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
commit d42d7ad53a619b4dd2fc3e9194721fd8b0c6de0a
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Mon Feb 22 15:02:57 2016 +0100
Fix display error on screen
The previous patch was reverted and is replaced by this one.
Instead of dancing around with global flag telling if a subsys succeed
or not and write a error, let's try to initialize the subsystem each
time a display is requested and output an error occurs.
That makes the code a bit nicer and give the opportunity to fix the
problem at the system level (eg. mount debugfs) without restarting
powerdebug.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 1eedd480214d97dd80defc19b0849ea45cd692ef
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Mon Feb 22 11:05:51 2016 +0000
Revert "display error on module window"
This reverts commit 96f6e050107da5d258280b785e5ed410d534a775.
Conflicts:
gpio.c
regulator.c
sensor.c
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 627d28d60f885fed586695f2837b097026afd883
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Mon Feb 22 10:49:16 2016 +0000
Fix 'read' symbol shadowed by 'read' variable
Rename variable 'read' by 'nrread'.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 3109e16ace9cc24ca4bc779d7eacaa6ee6f1200c
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Fri Feb 19 21:28:23 2016 +0000
Move SIGWINCH setup in the display file
The SIGWINCH signal handler calls a display function. For this
we exported the handler in powerdebug.c.
That does not make sense, let's move the signal setup in display.c
directly.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 88b377303f964c92e3be7077d14cf4db70436c5d
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Fri Feb 19 21:20:26 2016 +0000
Reduce the default refresh rate
Currently the default refresh rate is 10 secs which is tooo long for
data inspection. Let's reduce it to 1 sec.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 32e6cb5940cb92370639c0a840b6f4622f280657
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Fri Feb 19 21:16:43 2016 +0000
Fix window refresh.
The window refresh does not work at all. When the mainloop exits, nothing
is done to refresh the current window.
Fix this by sending to ourself a SIGWINCH signal, so the display engine
will automatically catch the signal and refresh the current window.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 5e659d7bfaf5c46dcff93d63c8252bf11d179c37
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Fri Feb 19 20:22:12 2016 +0000
Remove the selectedwindow options.
There is no logic behind the default window selection. The last
option parsed set the default window. Instead of having a specific
boolean set, use the first bit found in the flags for selecting the
the windows.
eg. powerdebug -s -g
=> flags = SENSOR_OPTION | GPIO_OPTION;
=> flags = 0x2 | 0x8 = 0x0a
=> flags = b01010000
=> fsl(flags) = 2
=> default window = 1 << fsl(flags) - 1
=> default window = 1 << 2 - 1
=> default window = 1 << 1
=> default window = 2 = SENSOR_OPTION
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit b4eec7eb5e0408ecc0e450025dbb5ab3fe6cbc5c
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Thu Feb 18 16:44:55 2016 +0000
Pass options to init functions.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 30f014726a0614f0e331c67604729723306007e1
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Thu Feb 18 16:08:10 2016 +0000
Consolidate the headers into a single one.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 7c15fadf92770b731153fdceb9f0f3e181787588
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Thu Feb 18 15:57:43 2016 +0000
Fix license. Linaro switched years ago to GPL.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 188ff0f8369802e4ee53d005b25e8f686ee2243e
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Thu Feb 18 15:40:12 2016 +0000
Prevent to init a subsystem if it is not selected.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 83b28d0ed342a549e62cac1c2f51d69063c0c868
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date: Thu Feb 18 13:49:55 2016 +0000
Fix compilation warnings.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 9db095c532d5cbb60142d4d9941a67f5556cd425
Author: Daniel Lezcano <daniel.lezcano@free.fr>
Date: Thu Feb 18 13:05:01 2016 +0000
Change options to flag approach.
That has the benefit to simplify the code.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
commit 67b9a46b9398b4aac251615a7b1d385dc92b09a0
Author: Vishal Bhoj <vishal.bhoj@hackbox.linaro.org>
Date: Fri Feb 20 11:32:39 2015 +0000
Make sure powerdebug builds when we build systemimage
Signed-off-by: Vishal Bhoj <vishal.bhoj@hackbox.linaro.org>
commit e33055c6f7321683e17b7eb5841b3264002c09e3
Author: Meraj <meraj.molla@samsung.com>
Date: Mon Jun 30 16:11:45 2014 +0530
gpio: fix resource leaks
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>