[FFE] sync cpustat 0.01.23-1 (universe) from Debian unstable (main)

Bug #1489991 reported by Colin Ian King
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Medium
Unassigned

Bug Description

Please sync cpustat 0.01.23-1 (universe) from Debian unstable (main)

All changelog entries:

cpustat (0.01.23-1) unstable; urgency=medium

  * Makefile: bump version
  * debian/control: fix section field, set to admin
  * debian/control: fix architecture; change to linux-any
  * debian/copyright: fix upstream name field

 -- Colin King <email address hidden> Tue, 18 Aug 2015 20:47:00 -0700

cpustat (0.01.22-1) unstable; urgency=medium

  * Prepare for inital upload to Debian: (Closes: #795914)
  * debian/copyright: update format field
  * debian/control: change email address
  * Makefile: bump version

 -- Colin King <email address hidden> Mon, 17 Aug 2015 15:11:38 -0700

cpustat (0.01.21-1) unstable; urgency=medium

  * Makefile: bump version
  * Update debian/compat and control to version 9 and add Homepage
  * Update manual, rewrite some sections and add an extra example
  * Add README
  * Some minor tweaks for 80 char wide tty formatting
  * Remove debian/cpustat.install, not needed now
  * Make bindir /usr/sbin
  * Update year in debian/copyright
  * Re-work debian/control description text
  * Don't scale blocked and running
  * Scale proc stats by duration
  * Scale distribution of CPU utilisation per CPU appropriately

 -- Colin King <email address hidden> Fri, 14 Aug 2015 19:40:00 +0100

cpustat (0.01.20-1) unstable; urgency=medium

  * Makefile: bump version
  * Remove double scaling by duration in stats

 -- Colin King <email address hidden> Fri, 14 Aug 2015 13:43:33 +0100

cpustat (0.01.19-1) unstable; urgency=medium

  * Makefile: bump version
  * Minor fixes that got introduced over the past week:
  * Make proc_stat scanning more efficient and do only when -x selected
  * Add Author in comment block
  * Makefile: Add copyright and comment on some useful gcc options
  * Init cpu_info_t fields
  * Nullify sdl->sample_delta_item_list, re-arrange some fields
  * Add LIKELY/UNLIKELY optimisation hints
  * Optimise cpu_info_find, don't alloc comm field anymore
  * Use malloc instead of calloc since we fill all the fields in the structs
  * Pass cpu_stat info into cpu_stat_add and replace calloc with malloc
  * Hash on comm and pid rather than making up an ident
  * Optimise parsing in cpus_online
  * Avoid call to sample_add if not required
  * Fix theoretical overflow
  * Correct toctou on cmdline
  * Avoid division by zero on total_ticks
  * Ensure end of buffer is null terminated
  * Remove redundant d > 9 check, will never happen with a modulo 10
  * Fix fd leak
  * Fix % output in banner now that we are not using printf
  * Use optimised string to integer parsing as this occurs frequently
  * Save ~2000 cycles per banner dump
  * Optimise load_average to not use sscanf(), saves ~200K cycles
  * Optimise /proc/$pid/stat parsing, saves ~500K cycles per iteration
  * Make pid hash table relatively large prime
  * Re-use old PIDs infos
  * More optimisations
  * Add some minor speed optimisations, saves a few million cycles
  * Add new tasks rate stat in -x option output
  * Add width specifier in scanf
  * Remove proc_stat alloca()
  * Remove alloca in cpu_distribution
  * Reduce scope of buffer
  * Make pid_info_hash_free static
  * Add more comments
  * Fix accuracy in ticks when accumulating ticks with interrupted select
  * Use uint64_t as clock ticks type
  * Break out of proc_stat parsing when we have all the necessary data
  * double_to_timeval: pass tv rather than return it.
  * Add more comments
  * Enhance distribution stats and expand manual
  * Pass nr_ticks rather than re-compute it
  * Minor correction in manual
  * Add caching to proc cmdline
  * Don't add to sorted list cpu_stats with zero total time
  * Reduce scope of buffer
  * Add more comments
  * Add alloca failure checks
  * Correct division in cpu freq computation
  * Add some /proc/stat stats with -x option
  * Correct the life time of the process stats in grand total
  * Add State (S), Processor and Time used stats
  * Minor re-formatting
  * Add -x option (extra CPU info)
  * Add -D distribution option
  * Add -g option

 -- Colin King <email address hidden> Fri, 14 Aug 2015 13:11:35 +0100

cpustat (0.01.18-1) unstable; urgency=medium

  * Makefile: bump version
  * Fix memleak in cpu info cmdline
  * Forgot to add cpu info onto the hash table
  * Append sdls to the sample delta list rather than prepend them
  * Fix missing cpu list length increment
  * Make source 80 chars wide tty friendly
  * Re-arrange fields in structs for better alignment

 -- Colin King <email address hidden> Thu, 6 Aug 2015 23:41:11 +0100

cpustat (0.01.17-1) unstable; urgency=medium

  * Makefile: bump version
  * Add -O2 for default optimisation level
  * free cmdline if it is not the same as comm field
  * Add some GCC optimisation hints
  * Reduce hash table size, reduced cache stalls
  * Re-use old cpu_stat_t via a free list
  * Re-organise lists, remove extra level of indirection
  * Use a hash on cpu_info's to do far faster lookup
  * Use a more efficient hash

 -- Colin King <email address hidden> Tue, 30 Jun 2015 22:07:00 +0100

cpustat (0.01.16-1) unstable; urgency=medium

  * Makefile: bump version
  * Remove SIGILL, SIGABRT sighandling

 -- Colin King <email address hidden> Mon, 18 May 2015 00:18:00 +0100

cpustat (0.01.15-1) unstable; urgency=medium

  * Makefile: bump version
  * Add copyright and a few more refs to manual
  * Minor tidyup and ensuring duration is sharp
  * Add a timestamp -S option
  * Handle time deltas more exactly, this is required if cpustat gets suspended
  * Fix whence so that we get real wall clock time in whence field
  * Remove commented out cruft

 -- Colin King <email address hidden> Fri, 13 Feb 2015 00:18:00 +0000

cpustat (0.01.14-1) unstable; urgency=medium

  * Makefile: bump version
  * Cater for when cpustat is suspended by ^S and we need to play catch-up

 -- Colin King <email address hidden> Thu, 5 Feb 2015 11:37:00 +0000

cpustat (0.01.13-1) unstable; urgency=medium

  * Makefile: bump version again
  * Install to /usr/sbin
  * Fix man page date and section

 -- Colin King <email address hidden> Thu, 15 Jan 2015 12:10:00 +0000

cpustat (0.01.12-1) unstable; urgency=medium

  * Makefile: bump version
  * Update copyright year
  * Replace whence timeval with double, simplifies code
  * Add more accurate time keeping
  * Constify more func args
  * Wrap -h help info
  * Remove trapping SIGSEGV and SIGBUS
  * We don't need special privileges to read /proc/$pid/stat

 -- Colin King <email address hidden> Thu, 15 Jan 2015 11:57:00 +0000

cpustat (0.01.11-1) unstable; urgency=medium

  * Makefile: bump version
  * Debian control: update standards version
  * Use inttypes for count and n_lines
  * Improve signal handling
  * Add in some whitespace for formatting
  * Improve error handling
  * Use suseconds_t for nsec conversions
  * Make total uint64_t
  * Add some more func comments
  * Ignore returns from close, fclose, etc
  * Use int64 types for stats

 -- Colin King <email address hidden> Fri, 19 Dec 2014 21:34:00 +0000

cpustat (0.01.10) unstable; urgency=medium

  * Makefile: bump version
  * Add -p option
  * Add -T option to man page
  * Add -T total utilisation option
  * Add some more comments
  * Fix -Wall warnings
  * Add in flags to enable debian build flags
  * Fix spelling mistake

 -- Colin King <email address hidden> Wed, 6 Aug 2014 00:29:12 +0100

cpustat (0.01.09) unstable; urgency=medium

  * Makefile: bump version
  * Make stats fields 1 char wider
  * Add the -a option

 -- Colin King <email address hidden> Wed, 21 May 2014 17:11:11 +0100

cpustat (0.01.08) unstable; urgency=low

  * Makefile: bump version
  * constify some more func params
  * Show help and exit on invalid option
  * constify count_bits arg
  * Add overflow/underflow checking for count arg
  * Add overflow/underflow checking for -n option

 -- Colin King <email address hidden> Mon, 19 May 2014 08:16:38 +0100

cpustat (0.01.07) unstable; urgency=low

  * Makefile: bump version
  * debian: add source/format file
  * debian: add watch file
  * debian: copyright: update License field
  * debian: control: update Standards-Version field
  * debian: control: update description field
  * Makefile: use new dist rules
  * Add COPYING file
  * Add extra cmdline information and options to select appropriate output

 -- Colin King <email address hidden> Wed, 23 Apr 2014 18:13:00 +0100

cpustat (0.01.06) unstable; urgency=low

  * Bump version
  * Avoid any sscanf field overruns
  * Reduce scope of some variables
  * Update copyright year

 -- Colin King <email address hidden> Wed, 5 Mar 2014 09:33:00 +0000

cpustat (0.01.05) unstable; urgency=low

  * Makefile: bump version
  * cpustat: dump out %user and %system times too
  * cpustat: check return from fscanf()

 -- Colin King <email address hidden> Thu, 18 Jul 2013 15:44:40 +0100

cpustat (0.01.04) unstable; urgency=low

  * Makefile: bump version again
  * debian/rules: add override_dh_auto_build rule
  * debian/copyright: update year
  * debian/control: fix cut-n-paste error
  * Makefile: add dist rule

 -- Colin King <email address hidden> Tue, 25 Jun 2013 18:34:38 +0100

cpustat (0.01.03) unstable; urgency=low

  * Makefile: bump version
  * add version
  * cpustat.c: make threshold double
  * cpustat.c: small amount of code tidying up
  * cpustat.c: fix stats on SIGINT and missing first stats issue
  * cpustat.c: update copyright year
  * cpustat.c: minor formatting fix

 -- Colin King <email address hidden> Tue, 25 Jun 2013 18:27:02 +0100

cpustat (0.01.02) precise; urgency=low

  * Tidy up lists
  * Add -i option

 -- Colin King <email address hidden> Tue, 27 Dec 2011 11:43:00 +0000

cpustat (0.01.01) precise; urgency=low

  * Init lists

 -- Colin King <email address hidden> Mon, 26 Dec 2011 10:20:00 +0000

cpustat (0.01.00) precise; urgency=low

  * Initial version

 -- Colin King <email address hidden> Wed, 21 Dec 2011 01:15:00 +0000

Changed in ubuntu:
importance: Undecided → Wishlist
Revision history for this message
Colin Ian King (colin-king) wrote :

Just to note that cpustat has been a useful low-power CPU measuring tool used to help track down power related issues on phone and tablet projects over the past 18+ months or so and is a useful tool to include into Wily for the phone enablement work

Revision history for this message
Colin Ian King (colin-king) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :

Already synced.

Changed in ubuntu:
status: New → Fix Released
Revision history for this message
Daniel Holbach (dholbach) wrote :

Sorry about that. I have no idea what I was checking, but the package is clearly not in the archive.

Changed in ubuntu:
status: Fix Released → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Subscribing the release team to get this approved because we're past feature freeze.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Looks good to go from a sponsoring perspective.

Changed in ubuntu:
importance: Wishlist → Medium
summary: - Sync cpustat 0.01.23-1 (universe) from Debian unstable (main)
+ [FFE] sync cpustat 0.01.23-1 (universe) from Debian unstable (main)
Changed in ubuntu:
status: Confirmed → Fix Released
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.