Please backport forkstat 0.01.11-1 (universe) from wily

Bug #1473380 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vivid-backports
Won't Fix
Undecided
Unassigned

Bug Description

Please backport forkstat 0.01.11-1 (universe) from wily to vivid.

Reason for the backport:
========================

forkstat is used in ubuntu-touch for finding process fork/exec/exit
power regressions and will be a key QA/CI tool for regular phone
image testing. In order to make it useful to the QA process I have
fixed some bugs on process identification (e.g. is a new process
a child from a fork(), or a thread from a clone() system call and
made forkstat run at a higher priority to try to capture the rapid
spawning/exiting processes that sometimes occur and are hard to
identify using traditional tools such as ps and top.

The other changes are code cleanups and updating copyright boiler
plate and don't change functionality at all.

Notable changes from vivid to wily:
  * Try to run as high priority as possible to capture fast activity
  * Print "fork" or "clone" depending on what we deduced from ppid and tgid
  * Add detection of thread creation rather than assuming it is a fork'd process
  * Clean up unused variable warnings with different values of LINUX_VERSION_CODE
  * Make a few more functions static, somehow overlooked these
  * Remove sig handling on SIGILL, SIGABRT, SIGBUS
  * Reduce scope of variable len (fixes cppcheck style warning)
  * Manual: update copyright info and date
  * forkstat.c: update copyright year
  * Makefile: Add copyright

I've tested this with backportpackage -u ppa:colin-king/backports -s wily -d vivid forkstat
and it works fine.

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 forkstat

* vivid:
[X] Package builds without modification
[X] forkstat installs cleanly and runs
[ ] forkstat-dbgsym installs cleanly and runs

Reverse dependencies:
=====================
The following reverse-dependencies need to be tested against the new version of forkstat. For reverse-build-dependencies (-Indep), please test that the package still builds against the new forkstat. For reverse-dependencies, please test that the version of the package currently in the release still works with the new forkstat installed. Reverse- Recommends, Suggests, and Enhances don't need to be tested, and are listed for completeness-sake.

forkstat
--------
* ubuntu-desktop-next
  [X] vivid (Reverse-Depends)
* ubuntu-touch
  [X] vivid (Reverse-Depends)

forkstat-dbgsym
---------------

Dan Streetman (ddstreet)
Changed in vivid-backports:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.