Please backport fnotifystat 0.01.12-1 (universe) from wily
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vivid-backports |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Please backport fnotifystat 0.01.12-1 (universe) from wily to vivid.
Reason for the backport:
=======
fnotifystat is used in ubuntu-touch for finding processes that
are performing file system I/O that may be causing power regressions
because of unwanted or sub-optimal file activity. fnotifystat will be a
QA/CI tool for regular phone image testing.
It would be really useful to backport fnotifystat because the
latest version includes corrections to the file name filtering options
(-x and -i), improvements in read error handling, improved handling
of process name gathering from the /proc cmdline and comm fields. Also
the improvements include an optimised hashing change that reduces
fnotifystat CPU utilisation by 3.3x when looking up cached /proc data
which is required on low-power devices when doing power measurements.
Notable changes are:
* Make -x -i options work on all filenames
* Use strtok instead of strtok_r
* Check for read failure
* Use process comm field if we can't get cmdline info
* Replace hash_pjw with a faster alternative
* Makefile: fix copyright dates, bump version
* Change scope of mount and mounts (fixes cppcheck style warnings)
* fnotifystat: clarify precedence on ternary operation (cppcheck style fix)
* Remove sig handling on SIGILL and SIGABRT
* Update man page, add in bullet points and copyright info
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 fnotifystat
* vivid:
[X] Package builds without modification
[ ] fnotifystat-dbgsym installs cleanly and runs
[X] fnotifystat installs cleanly and runs
No reverse dependencies
Thank you for requesting this backport and performing the requisite testing. I'll go ahead and process this now.