Debian Codegraph @

debian/changelog

raw
1 cpustat (0.03.00-1) unstable; urgency=medium
2
3 * Makefile: bump version to 0.03.00
4 * debian/control: update Standards-Version to 4.7.1.1
5 * cpustat: handle negative return from sysconf(_SC_NPROCESSORS_ONLN)
6 * Update copyright year
7
8 -- Colin Ian King <[email protected]> Wed, 26 Feb 2025 12:45:11 +0000
9
10 cpustat (0.02.21-1) unstable; urgency=medium
11
12 * Makefile: bump version
13 * debian/control: update Standards-Version to 4.7.0
14 * cpustat: cater for incorrect ordering of cpus being parsed, fix potential overflow
15
16 -- Colin Ian King <[email protected]> Wed, 17 Jul 2024 14:58:23 +0100
17
18 cpustat (0.02.20-1) unstable; urgency=medium
19
20 * Makefile: bump version
21 * debian/rules: add missing hardening settings
22 * debian/control: update standards version
23 * Update copyright year to 2024
24 * Check for array bounds limit while parsing pid length string
25 * Remove snapcraft
26
27 -- Colin Ian King <[email protected]> Mon, 8 Jan 2024 13:53:37 +0000
28
29 cpustat (0.02.19-1) unstable; urgency=medium
30
31 * Makefile: bump version
32 * debian/control: use libncurses-dev instead of deprecated libncurses5-dev
33 * Update copyright year
34
35 -- Colin Ian King <[email protected]> Tue, 7 Feb 2023 14:13:12 +0000
36
37 cpustat (0.02.18-1) unstable; urgency=medium
38
39 * Makefile: bump version
40 * Debian/control: update standards version to 4.6.1
41 * Update copyright year
42 * Manual: Fix spelling mistake "paricular" -> "particular"
43 * Fix spelling mistake: threashold -> threashold
44 * cpustat: ensure pointer info is NULL
45
46 -- Colin Ian King <[email protected]> Wed, 30 Nov 2022 15:10:11 +0000
47
48 cpustat (0.02.17-1) unstable; urgency=medium
49
50 * Makefile: bump version
51 * debian/control: update to standards version 4.6.0
52 * Don't emit newline in quiet mode, e.g. cpustat -Dqg 1 10
53
54 -- Colin Ian King <[email protected]> Sat, 11 Dec 2021 09:02:12 +0100
55
56 cpustat (0.02.16-1) unstable; urgency=medium
57
58 * Makefile, rename email address, add copyright, bump version
59 * cpustat.c: Update copyright and email address
60 * Makefile: rename README to README.md in make dist rule
61 * REAME.md: Add markdown
62 * Rename README to README.md
63 * manual: update date, author email and copyright
64 * debian/copyright: Update copyright and git URL
65 * debian/control: update author email address and project URL
66 * snap: update to core20
67
68 -- Colin Ian King <[email protected]> Mon, 15 Nov 2021 19:17:15 +0000
69
70 cpustat (0.02.15-1) unstable; urgency=medium
71
72 * Makefile: bump version
73 * snapcraft: add build architectures
74 * Set endptr to null to clear up pedantic static analysis
75
76 -- Colin King <[email protected]> Fri, 25 Jun 2021 13:22:12 +0100
77
78 cpustat (0.02.14-1) unstable; urgency=medium
79
80 * Makefile: bump version
81 * Remove update of sz as the result is never read
82 * debian/copyright: update copyright to 2021
83 * Update copyright year to 2021
84
85 -- Colin King <[email protected]> Thu, 29 Apr 2021 08:38:34 +0100
86
87 cpustat (0.02.13-1) unstable; urgency=medium
88
89 * Makefile: bump version
90 * cpustat: handle case where comm field contains ) and spaces
91
92 -- Colin King <[email protected]> Sat, 7 Nov 2020 16:51:22 +0000
93
94 cpustat (0.02.12-1) unstable; urgency=medium
95
96 * Makefile: bump version
97 * cpustat: fix truncated output, allow CPU % stats > 100%
98 * snapcraft: replace version-script with an override
99
100 -- Colin King <[email protected]> Thu, 10 Sep 2020 13:14:15 +0100
101
102 cpustat (0.02.11-1) unstable; urgency=medium
103
104 * Makefile: bump version
105 * Debian/control: add Rules-Requires-Root: no
106 * debian/control: update to compat 13
107 * cpustat: zero ws struct to clear static analysis warnings
108
109 -- Colin King <[email protected]> Sat, 4 Jul 2020 10:33:32 +0100
110
111 cpustat (0.02.10-1) unstable; urgency=medium
112
113 * Makefile: bump version
114 * Makefile: add bash-completion to make dist rule
115 * Add bash completion script
116 * Update copyright to 2020
117 * snapcraft: add automatic versioning
118
119 -- Colin King <[email protected]> Sun, 23 Feb 2020 23:25:22 +0000
120
121 cpustat (0.02.09-1) unstable; urgency=medium
122
123 * Makefile: bump version
124 * Makefile: remove -g flag
125 * Avoid division by zero if total is zero
126
127 -- Colin King <[email protected]> Tue, 30 Jul 2019 13:18:23 +0100
128
129 cpustat (0.02.08-1) unstable; urgency=medium
130
131 * Makefile: bump version
132 * Fix strncpy string size
133 * Reduce scope of variable i
134 * Update copyright year
135
136 -- Colin King <[email protected]> Tue, 9 Jul 2019 11:51:12 +0100
137
138 cpustat (0.02.07-1) unstable; urgency=medium
139
140 * Makefile: bump version
141 * Re-arrange fields in structs to pack data more efficiently
142
143 -- Colin King <[email protected]> Wed, 24 Oct 2018 09:22:22 +0100
144
145 cpustat (0.02.06-1) unstable; urgency=medium
146
147 * Makefile: bump version
148 * Makefile: add .travis.yml to make dist rule
149 * debian/watch: change .gz to .xz
150 * Makefile: remove .xz tarball on make dist rule
151 * Makefile: generate .xz tarball and not .gz as it compresses better
152 * Makefile: rename snapcraft to snap in make dist rule
153 * Don't show CPU frequency if it cannot be read
154 * Rename snapcraft directory to snap
155 * Add travis yaml file
156
157 -- Colin King <[email protected]> Thu, 6 Sep 2018 08:42:45 +0100
158
159 cpustat (0.02.05-1) unstable; urgency=medium
160
161 * Makefile: bump version
162 * debian/copyright: use secure URI
163 * debian/control: remove empty line at end of file
164 * debian/compat: set to 11
165 * debian/control: set debhelper version >= 11
166 * voidify function returns
167 * constify cpu_freq_scale
168 * Minor code clean ups
169 * Add more constifcations to functions and arrays
170 * Fix the time scaling, use base 60 where necessary
171 * Fix leading zeros on time data
172
173 -- Colin King <[email protected]> Thu, 14 Jun 2018 18:46:12 +0100
174
175 cpustat (0.02.04-1) unstable; urgency=medium
176
177 * Makefile: bump version
178 * debian/control: update Standards-Version to 4.1.2
179 * Remove redundant initialization of pointer 'str'
180 * Use sizeof on object
181 * Make array index variables size_t
182 * Use SIZEOF_ARRAY on cpu_freq_scale rather than a terminator marker
183 * Update copyright year
184
185 -- Colin King <[email protected]> Wed, 31 Jan 2018 10:49:22 +0000
186
187 cpustat (0.02.03-1) unstable; urgency=medium
188
189 * Makefile: bump version
190 * Manual: update copyright year and manual date
191 * Add variable pid size handling.
192 * Voidify close/fclose calls
193
194 -- Colin King <[email protected]> Sat, 15 Apr 2017 07:17:27 +0100
195
196 cpustat (0.02.02-1) unstable; urgency=medium
197
198 * Makefile: bump version
199 * Remove some redundant pointer increments
200 * Update copyright year
201 * Add libncursesw5-dev to snapcraft yaml
202 * Don't do a resize() in SIGWINCH signal handler
203
204 -- Colin King <[email protected]> Wed, 1 Mar 2017 23:28:27 +0000
205
206 cpustat (0.02.01-1) unstable; urgency=medium
207
208 * Makefile: bump version
209 * Remove df_putc, we don't use it now
210 * Minor cleanup, add more comments
211 * Remove another slow snprintf in cpu_freq_format
212 * Generalise putdouble_point1 to n decimal places, rename putdec to putint
213 * Remove another snprintf from proc_stat_dump
214 * Add command and spacing before Freq Avg text
215 * Remove another use of expensive sprintf
216 * Add putuint helper and remove another overly used snprintf
217 * Fix incorrect closing square bracket around kernel thread
218 * Remove another snprintf and replace with more optimal code
219 * Add some minor optimisations
220 * Optimise printing so we don't use printf which is expensive
221 * Add comments to putdec function
222 * Generalise putdec function to handle any decimal sized string
223 * Use inline popcount to count bits
224 * Ensure in top mode we don't fall off bottom of terminal
225
226 -- Colin King <[email protected]> Tue, 6 Dec 2016 12:04:42 +0000
227
228 cpustat (0.02.00-1) unstable; urgency=medium
229
230 * Makefile: bump version to 0.02.00
231 * Debian control: add libncurses5-dev to Build-Depends
232 * Fix timestamp output
233 * Retry select sleep if we have some pending sleep time
234 * Minor reworking to handle optimal refreshing and size refetching
235 * Default winsize if we can't fetch it, and fetch size on setup
236 * Handle display modes using display_function_t handlers
237 * Add -X top like mode
238 * Ensure large integer constant is ULL
239
240 -- Colin King <[email protected]> Sun, 4 Dec 2016 20:55:21 +0000
241
242 cpustat (0.01.29-1) unstable; urgency=medium
243
244 * Makefile: bump version
245 * Fix variable shadowing on variable duration
246 * Use FLOAT_CMP helper macro to perform slop on float compares
247 * Constify variables in sort compare helper
248 * Makefile: add PEDANTIC build flags
249
250 -- Colin King <[email protected]> Wed, 2 Nov 2016 14:24:41 -0600
251
252 cpustat (0.01.28-1) unstable; urgency=medium
253
254 * Makefile: bump version
255 * Makefile: add mascot and snapcraft directories to make dist rule
256 * cpustat: only add pid info to hash table if it is new (LP: #1631050)
257 * snapcraft: Makefile: fix removal errors of snap files
258 * snapcraft: Makefile: add auto versioning
259 * snapcraft.yaml: add build-packages
260 * Add snapcraft Makefile
261 * Add cpustat pngs
262 * mascot: small resize to ensure it scales perfectly to 128x128
263 * Add cpustat mascot
264
265 -- Colin King <[email protected]> Thu, 6 Oct 2016 17:30:00 +0100
266
267 cpustat (0.01.27-1) unstable; urgency=medium
268
269 * Makefile: bump version
270 * debian/control: update standards version to 3.9.8
271
272 -- Colin King <[email protected]> Thu, 5 May 2016 13:49:16 +0100
273
274 cpustat (0.01.26-1) unstable; urgency=medium
275
276 * Makefile: bump version
277 * Update date in manual
278 * debian/control: update standards version to 3.9.7
279 * Fix spelling mistake in manual, onlt -> only
280 * Update copyright year to 2016
281
282 -- Colin King <[email protected]> Thu, 28 Apr 2016 10:10:10 +0100
283
284 cpustat (0.01.25-1) unstable; urgency=medium
285
286 * Makefile: bump version
287 * Fix division by zero error when total_ticks is zero (LP: #1506156)
288
289 -- Colin King <[email protected]> Wed, 14 Oct 2015 18:40:00 +0100
290
291 cpustat (0.01.24-1) unstable; urgency=medium
292
293 * Makefile: bump version
294 * Makefile: remove dist tarball on make clean
295 * check if sample_delta_list_tail is null rather than the head
296 * Don't initialise duration, it gets set later
297 * Remove another dead assignment to sdi
298 * Remove dead assignment to sdi
299 * Remove dead assignment to cs
300
301 -- Colin King <[email protected]> Wed, 9 Sep 2015 11:39:42 +0100
302
303 cpustat (0.01.23-1) unstable; urgency=medium
304
305 * Makefile: bump version
306 * debian/control: fix section field, set to admin
307 * debian/control: fix architecture; change to linux-any
308 * debian/copyright: fix upstream name field
309
310 -- Colin King <[email protected]> Tue, 18 Aug 2015 20:47:00 -0700
311
312 cpustat (0.01.22-1) unstable; urgency=medium
313
314 * Prepare for inital upload to Debian: (Closes: #795914)
315 * debian/copyright: update format field
316 * debian/control: change email address
317 * Makefile: bump version
318
319 -- Colin King <[email protected]> Mon, 17 Aug 2015 15:11:38 -0700
320
321 cpustat (0.01.21-1) unstable; urgency=medium
322
323 * Makefile: bump version
324 * Update debian/compat and control to version 9 and add Homepage
325 * Update manual, rewrite some sections and add an extra example
326 * Add README
327 * Some minor tweaks for 80 char wide tty formatting
328 * Remove debian/cpustat.install, not needed now
329 * Make bindir /usr/sbin
330 * Update year in debian/copyright
331 * Re-work debian/control description text
332 * Don't scale blocked and running
333 * Scale proc stats by duration
334 * Scale distribution of CPU utilisation per CPU appropriately
335
336 -- Colin King <[email protected]> Fri, 14 Aug 2015 19:40:00 +0100
337
338 cpustat (0.01.20-1) unstable; urgency=medium
339
340 * Makefile: bump version
341 * Remove double scaling by duration in stats
342
343 -- Colin King <[email protected]> Fri, 14 Aug 2015 13:43:33 +0100
344
345 cpustat (0.01.19-1) unstable; urgency=medium
346
347 * Makefile: bump version
348 * Minor fixes that got introduced over the past week:
349 * Make proc_stat scanning more efficient and do only when -x selected
350 * Add Author in comment block
351 * Makefile: Add copyright and comment on some useful gcc options
352 * Init cpu_info_t fields
353 * Nullify sdl->sample_delta_item_list, re-arrange some fields
354 * Add LIKELY/UNLIKELY optimisation hints
355 * Optimise cpu_info_find, don't alloc comm field anymore
356 * Use malloc instead of calloc since we fill all the fields in the structs
357 * Pass cpu_stat info into cpu_stat_add and replace calloc with malloc
358 * Hash on comm and pid rather than making up an ident
359 * Optimise parsing in cpus_online
360 * Avoid call to sample_add if not required
361 * Fix theoretical overflow
362 * Correct toctou on cmdline
363 * Avoid division by zero on total_ticks
364 * Ensure end of buffer is null terminated
365 * Remove redundant d > 9 check, will never happen with a modulo 10
366 * Fix fd leak
367 * Fix % output in banner now that we are not using printf
368 * Use optimised string to integer parsing as this occurs frequently
369 * Save ~2000 cycles per banner dump
370 * Optimise load_average to not use sscanf(), saves ~200K cycles
371 * Optimise /proc/$pid/stat parsing, saves ~500K cycles per iteration
372 * Make pid hash table relatively large prime
373 * Re-use old PIDs infos
374 * More optimisations
375 * Add some minor speed optimisations, saves a few million cycles
376 * Add new tasks rate stat in -x option output
377 * Add width specifier in scanf
378 * Remove proc_stat alloca()
379 * Remove alloca in cpu_distribution
380 * Reduce scope of buffer
381 * Make pid_info_hash_free static
382 * Add more comments
383 * Fix accuracy in ticks when accumulating ticks with interrupted select
384 * Use uint64_t as clock ticks type
385 * Break out of proc_stat parsing when we have all the necessary data
386 * double_to_timeval: pass tv rather than return it.
387 * Add more comments
388 * Enhance distribution stats and expand manual
389 * Pass nr_ticks rather than re-compute it
390 * Minor correction in manual
391 * Add caching to proc cmdline
392 * Don't add to sorted list cpu_stats with zero total time
393 * Reduce scope of buffer
394 * Add more comments
395 * Add alloca failure checks
396 * Correct division in cpu freq computation
397 * Add some /proc/stat stats with -x option
398 * Correct the life time of the process stats in grand total
399 * Add State (S), Processor and Time used stats
400 * Minor re-formatting
401 * Add -x option (extra CPU info)
402 * Add -D distribution option
403 * Add -g option
404
405 -- Colin King <[email protected]> Fri, 14 Aug 2015 13:11:35 +0100
406
407 cpustat (0.01.18-1) unstable; urgency=medium
408
409 * Makefile: bump version
410 * Fix memleak in cpu info cmdline
411 * Forgot to add cpu info onto the hash table
412 * Append sdls to the sample delta list rather than prepend them
413 * Fix missing cpu list length increment
414 * Make source 80 chars wide tty friendly
415 * Re-arrange fields in structs for better alignment
416
417 -- Colin King <[email protected]> Thu, 6 Aug 2015 23:41:11 +0100
418
419 cpustat (0.01.17-1) unstable; urgency=medium
420
421 * Makefile: bump version
422 * Add -O2 for default optimisation level
423 * free cmdline if it is not the same as comm field
424 * Add some GCC optimisation hints
425 * Reduce hash table size, reduced cache stalls
426 * Re-use old cpu_stat_t via a free list
427 * Re-organise lists, remove extra level of indirection
428 * Use a hash on cpu_info's to do far faster lookup
429 * Use a more efficient hash
430
431 -- Colin King <[email protected]> Tue, 30 Jun 2015 22:07:00 +0100
432
433 cpustat (0.01.16-1) unstable; urgency=medium
434
435 * Makefile: bump version
436 * Remove SIGILL, SIGABRT sighandling
437
438 -- Colin King <[email protected]> Mon, 18 May 2015 00:18:00 +0100
439
440 cpustat (0.01.15-1) unstable; urgency=medium
441
442 * Makefile: bump version
443 * Add copyright and a few more refs to manual
444 * Minor tidyup and ensuring duration is sharp
445 * Add a timestamp -S option
446 * Handle time deltas more exactly, this is required if cpustat gets suspended
447 * Fix whence so that we get real wall clock time in whence field
448 * Remove commented out cruft
449
450 -- Colin King <[email protected]> Fri, 13 Feb 2015 00:18:00 +0000
451
452 cpustat (0.01.14-1) unstable; urgency=medium
453
454 * Makefile: bump version
455 * Cater for when cpustat is suspended by ^S and we need to play catch-up
456
457 -- Colin King <[email protected]> Thu, 5 Feb 2015 11:37:00 +0000
458
459 cpustat (0.01.13-1) unstable; urgency=medium
460
461 * Makefile: bump version again
462 * Install to /usr/sbin
463 * Fix man page date and section
464
465 -- Colin King <[email protected]> Thu, 15 Jan 2015 12:10:00 +0000
466
467 cpustat (0.01.12-1) unstable; urgency=medium
468
469 * Makefile: bump version
470 * Update copyright year
471 * Replace whence timeval with double, simplifies code
472 * Add more accurate time keeping
473 * Constify more func args
474 * Wrap -h help info
475 * Remove trapping SIGSEGV and SIGBUS
476 * We don't need special privileges to read /proc/$pid/stat
477
478 -- Colin King <[email protected]> Thu, 15 Jan 2015 11:57:00 +0000
479
480 cpustat (0.01.11-1) unstable; urgency=medium
481
482 * Makefile: bump version
483 * Debian control: update standards version
484 * Use inttypes for count and n_lines
485 * Improve signal handling
486 * Add in some whitespace for formatting
487 * Improve error handling
488 * Use suseconds_t for nsec conversions
489 * Make total uint64_t
490 * Add some more func comments
491 * Ignore returns from close, fclose, etc
492 * Use int64 types for stats
493
494 -- Colin King <[email protected]> Fri, 19 Dec 2014 21:34:00 +0000
495
496 cpustat (0.01.10) unstable; urgency=medium
497
498 * Makefile: bump version
499 * Add -p option
500 * Add -T option to man page
501 * Add -T total utilisation option
502 * Add some more comments
503 * Fix -Wall warnings
504 * Add in flags to enable debian build flags
505 * Fix spelling mistake
506
507 -- Colin King <[email protected]> Wed, 6 Aug 2014 00:29:12 +0100
508
509 cpustat (0.01.09) unstable; urgency=medium
510
511 * Makefile: bump version
512 * Make stats fields 1 char wider
513 * Add the -a option
514
515 -- Colin King <[email protected]> Wed, 21 May 2014 17:11:11 +0100
516
517 cpustat (0.01.08) unstable; urgency=low
518
519 * Makefile: bump version
520 * constify some more func params
521 * Show help and exit on invalid option
522 * constify count_bits arg
523 * Add overflow/underflow checking for count arg
524 * Add overflow/underflow checking for -n option
525
526 -- Colin King <[email protected]> Mon, 19 May 2014 08:16:38 +0100
527
528 cpustat (0.01.07) unstable; urgency=low
529
530 * Makefile: bump version
531 * debian: add source/format file
532 * debian: add watch file
533 * debian: copyright: update License field
534 * debian: control: update Standards-Version field
535 * debian: control: update description field
536 * Makefile: use new dist rules
537 * Add COPYING file
538 * Add extra cmdline information and options to select appropriate output
539
540 -- Colin King <[email protected]> Wed, 23 Apr 2014 18:13:00 +0100
541
542 cpustat (0.01.06) unstable; urgency=low
543
544 * Bump version
545 * Avoid any sscanf field overruns
546 * Reduce scope of some variables
547 * Update copyright year
548
549 -- Colin King <[email protected]> Wed, 5 Mar 2014 09:33:00 +0000
550
551 cpustat (0.01.05) unstable; urgency=low
552
553 * Makefile: bump version
554 * cpustat: dump out %user and %system times too
555 * cpustat: check return from fscanf()
556
557 -- Colin King <[email protected]> Thu, 18 Jul 2013 15:44:40 +0100
558
559 cpustat (0.01.04) unstable; urgency=low
560
561 * Makefile: bump version again
562 * debian/rules: add override_dh_auto_build rule
563 * debian/copyright: update year
564 * debian/control: fix cut-n-paste error
565 * Makefile: add dist rule
566
567 -- Colin King <[email protected]> Tue, 25 Jun 2013 18:34:38 +0100
568
569 cpustat (0.01.03) unstable; urgency=low
570
571 * Makefile: bump version
572 * add version
573 * cpustat.c: make threshold double
574 * cpustat.c: small amount of code tidying up
575 * cpustat.c: fix stats on SIGINT and missing first stats issue
576 * cpustat.c: update copyright year
577 * cpustat.c: minor formatting fix
578
579 -- Colin King <[email protected]> Tue, 25 Jun 2013 18:27:02 +0100
580
581 cpustat (0.01.02) precise; urgency=low
582
583 * Tidy up lists
584 * Add -i option
585
586 -- Colin King <[email protected]> Tue, 27 Dec 2011 11:43:00 +0000
587
588 cpustat (0.01.01) precise; urgency=low
589
590 * Init lists
591
592 -- Colin King <[email protected]> Mon, 26 Dec 2011 10:20:00 +0000
593
594 cpustat (0.01.00) precise; urgency=low
595
596 * Initial version
597
598 -- Colin King <[email protected]> Wed, 21 Dec 2011 01:15:00 +0000