Bug fixing, features for powerdebug

Registered by Amit Kucheria

Make sure powerdebug continues working with upstream kernels, packaged into Linaro LEBs, etc.

Blueprint information

Status:
Complete
Approver:
Amit Kucheria
Priority:
Medium
Drafter:
Daniel Lezcano
Direction:
Approved
Assignee:
Daniel Lezcano
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2011.09
Started by
Amit Kucheria
Completed by
Mounir Bsaibes

Related branches

Sprints

Whiteboard

source code: http://git.linaro.org/gitweb?p=tools/powerdebug.git;a=summary
git tree: git://git.linaro.org/tools/powerdebug.git

Status:
In progress

[work item: Generic tree engine]
Adding this will have several benefits for the powerdebug code:
  * factor out the code between the different components
  * make the code more maintainable
  * will allow to add the next features more quickly

The following Work items were moved to https://blueprints.launchpad.net/linaro-powerdebug/+spec/powerdebug-new-features
[daniel-lezcano] Clock: Refresh on inotify events: TODO

Clock: Refresh on inotify events, This workitem is not implementable as specified. The inotify is *not* recursive so we need to add a inotify watch per relevant directory or file which can be very expansive in terms of resources. I propose to change this approach and add a "watchpoint" when selecting a specific item (eg. a clock). This watchpoing will display or log the changes on the watchpoint. This approach is similar to gdb and in my opinion more adequate for a debugging tool.

[daniel-lezcano] Clock: Show only active clocks by default: TODO
[daniel-lezcano] Release the tarball source for the monthly release for launchpad and ubuntu: TODO
[daniel-lezcano] Regulator: Clarify state vs. status in regulator output: TODO
[daniel-lezcano] Sensor: Add support to show Temperature Sensor information from other sources: TODO
[daniel-lezcano] Common: Add a new 'summary' tab showing current activities going on the system: TODO
[daniel-lezcano] Common: Add sorting option to display information in ncurses mode: TODO

(?)

Work Items

Work items for 2011.08:
[daniel-lezcano] Cleanup the code and make it more modular: DONE
[daniel-lezcano] introduce a generic tree engine to go over all the pw files: DONE
[daniel-lezcano] Clock: switch dump code to this tree: DONE
[daniel-lezcano] Display: rework the display code to be more generic: DONE
[daniel-lezcano] Display: don't destroy/create the windows at each refresh / event: DONE
[daniel-lezcano] Display: use ncurses scrolling feature: DONE
[daniel-lezcano] Display: do not refresh everything when a keystroke happens: DONE
[daniel-lezcano] Clock: switch display code to this tree: DONE
[daniel-lezcano] Clock: Add support to reach all parent clocks, given a child clock: DONE
[daniel-lezcano] Clock: Allocate the data structures only once instead of at every refresh: DONE
[daniel-lezcano] Regulator: switch dump code to this tree: DONE
[daniel-lezcano] Regulator: switch display code to this tree: DONE
[daniel-lezcano] Sensor: switch dump code to this tree: DONE
[daniel-lezcano] Sensor: switch display code to this tree: DONE
[daniel-lezcano] Release: define a release policy for powerdebug: DONE
[daniel-lezcano] Release the tarball source for the monthly release for launchpad and ubuntu: DONE
[amitk] Add debian packaging from old tree to new tree maintained by Daniel: DONE
[amitk] Handover maintenance of powerdebug to Daniel: DONE
[rsalveti] upload powerdebug 08.2011 release: DONE

Work items for 2011.09:
[daniel-lezcano] gpio : add support: DONE
[daniel-lezcano] Release the tarball source for the monthly release for launchpad and ubuntu: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.