Please backport powerstat 0.02.03-1 (universe) from wily
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vivid-backports |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Please backport powerstat 0.02.03-1 (universe) from wily to vivid.
Reason for the backport:
=======
powerstat is used in ubuntu-touch for measuring power and system
activity regressions and is hence a useful QA/CI tool for regular phone
image testing. Over the past months I have added more useful features
into powerstat to measure temperature thermal zones, CPU frequencies,
improved histogram reports as well as improved child/thread detection
and C state measuring. All in all, this is an improved tool and is
very useful for power regression checking.
Changes in updated powerstat:
* Handle read errors from reading comm and/or cmdline files
* manual: improve the -z option
* Add -a (all) option
* When using -z, set sample delay to zero if not specified
* ensure we don't get buffer overflow on comm and cmdline reads
* Add thread/child detection, add better proc name fetching
* Fix power formatting when E estimate is being displayed
* Check for insane temperatures, set to zero if out of range
* Re-enable -z option
* Add thermal zone temperature monitoring
* Add CPU frequencies to histogram mode
* Update date on manual
* Don't divide by floating point zero, clarify CPU freq average calculation
* Add check to ensure we don't free scandir list when no entries found
* Fix a couple of warnings found on ARM builds
* Add the -n no headings option
* Add in a new -f CPU frequency option
* Ensure we scan a buffer correctly
* Add -c "C-state" option
* Make statistics #defines into a stat_type enumeration
* Specify integer types with stdint int types
* Clean up comments, add more comments where necessary
* pass tv into double_to_timeval rather than returning a timeval struct
* Remove "Battery" from message since we can measure using RAPL
* Remove signal handling for SIGILL, SIGABRT
* Fix typo and update date in man page
* Add CPU consumption stats to -H mode
* Fix up style warnings from cppcheck
* Fix up default start delay duration for RAPL
* Update date in manual
* Add more precision to RAPL domain stats
* Remove rapl_rates, stash per domain stats directly
* Add -H histogram option
* Only accumulate RAPL package power for total Watts in -R mode
* Move fclose to fix a resource leak
* Allow all RAPL power domains to be printed
* Prevent RAPL wrap around the correct way
* Handle -ve values from RAPL
* Cater for systems (such as VMs) that have RAPL interface but no domains
* Add -R RAPL power measurement option
Testing:
========
Mark off items in the checklist [X] as you test them, but please leave the checklist so that backporters can quickly evaluate the state of testing.
You can test-build the backport in your PPA with backportpackage:
$ backportpackage -u ppa:<lp username>/<ppa name> -s wily -d vivid powerstat
* vivid:
[X] Package builds without modification
[X] powerstat installs cleanly and runs
[ ] powerstat-dbgsym installs cleanly and runs
Reverse dependencies:
=======
The following reverse-
powerstat
---------
* ubuntu-desktop-next
[ ] vivid (Reverse-Depends)
* ubuntu-touch
[ ] vivid (Reverse-Depends)
powerstat-dbgsym
----------------
Changed in vivid-backports: | |
status: | New → Won't Fix |