-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog
551 lines (470 loc) · 22.8 KB
/
changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
sp-endurance (4.0.0), 8 Oct 2012:
* Program names have been cleaned up:
- "save-incremental-endurance-stats" => "endurance-snapshot"
- "endurance_plot" => "endurance-plot"
- "endurance_report.py" => "endurance-report"
- "extract-endurance-process-cgroups" => "endurance-extract-process-cgroups"
- "extract-endurance-process-smaps" => "endurance-extract-process-smaps"
- "parse-endurance-measurements" => "endurance-parse-snapshots"
- "recompress-endurance-measurements" => "endurance-recompress-snapshots"
- "split-endurance-measurements" => "endurance-split-snapshots"
- The old names may still be still made available by installing symbolic
links with "make install-compat-symlinks".
* Snapshot directory numbering has been cleaned up:
- The old numbering 101, 102, 103, ... is replaced with 000, 001, 002, ...
* endurance-snapshot:
- Collect Upstart v1.4+ service logs from /var/log/upstart/.
- Collect /proc/pid/sched.
- Avoid collecting empty files.
* The "endurance-plot" script has been cleaned up and improved:
- The parsing and plotting logic has been rewritten and split into a
reusable and unit tested Perl module.
- The /proc/pid/smaps parsing has been implemented with C to provide
speedup compared to the pure Perl implementation. This feature is
optional, and requires that the "Inline" Perl module is available at
build time.
- Per process I/O graphs have been added.
- Private Dirty graphs have been added.
- Upstart "Jobs Respawned" graph has been added.
- Process scheduling graphs have been added.
- JSON output format in addition to HTML.
* endurance-report:
- Tolerate missing data and various I/O errors better.
- Performance improvements in the syslog parser.
* endurance-recompress-snapshots:
- The level of parallellism is now fully user controlled via '-j N' flag.
* endurance-multiplot:
- A new experimental endurance graphing script for multiple usecases.
sp-endurance (3.0.4), 23 Mar 2012:
* parse IO disk write stats from usage.csv to endurance report.
sp-endurance (3.0.3), 27 Feb 2012:
* proc2csv fixes for newer kernels (desktop Ubuntu):
- change ',' in proc files field contents to '/'
- increase proc file CSV line buffer size from 256 to 512,
otherwise long lines can get split
* support separate doc install path
* endurance_plot:
- Fix incorrect entries for short living processes in some histogram plots.
- 'Major page fault' graphs now split to several graphs for improved
readability. Graphs added for minor page faults.
- Added 'private dirty' memory graphs.
- Virtual memory size graph now split to several graphs for improved
readability.
sp-endurance (3.0.2), 27 Dec 2011:
* Harmattan 'sp-endurance-tests' package integration fix.
sp-endurance (3.0.1), 22 Dec 2011:
* endurance_plot:
- Rename '#smaps segments' plot to '#memory maps'.
- Split the kernel slab graph to count and changes graphs.
- Split the single ramzswap graph into three separate graphs:
1. Reads and writes in megabytes per round.
2. Memory usage: OrigDataSize, ComprDataSize, MemUsedTotal, ZeroPages,
GoodCompress and NoCompress.
3. Errors, if any (in most cases this graph will not be created).
- Fix wchan parsing /proc/pid/io data from usage.csv.
- Add backlight brightness information to battery graph.
* endurance_report.py:
- Do not warn about missing data for 'sp-noncached'.
- Add hardware information to the endurance report by parsing the
`component_version' file from the endurance data.
- Add battery information table.
sp-endurance (3.0), 9 Dec 2011:
* NOTE: this release introduces changes to the collected endurance data.
Post-processing tools are able to process both new and old formats.
* X support/dependency is optional in build, measuring and post-processing.
* save-incremental-endurance-stats:
- The `xmeminfo' utility is now optional, and the output from the tool is
now written to separate file (was previously appended to usage.csv). The
error messages from xmeminfo written to 'xmeminfo.log' (was 'xres.log').
- Disk usage output from `df' is now written to separate file (was
previously appended to usage.csv).
- Collect /sys/class/power_supply/ and /sys/class/backlight/ recursively.
- Large disk reads and writes filtered through `sp-noncached' utility to
avoid polluting kernel page cache with endurance data.
* proc2csv:
- Collect /proc/pid/wchan and /proc/pid/io.
- The '-t' testing flag is removed.
* endurance_report.py:
- Report Upstart respawned jobs.
- Disk space usage changes shown for all filesystems (instead of just / and
/tmp).
* syslog_parse.py:
- Now uses configuration file for matching interesting lines from syslog.
This utility now provides results in text format only.
- The Python API that this file exports was changed.
* endurance_plot:
- Graphs now categorized to 'process' and 'system' groups.
- New graphs: disk I/O graphs that show MB per round, ext4 filesystem
writes per round, process counts in different wait channels, process
counts in different non-sleep states, separate networking plots per
network interface, /dev/pvrsrvkm mapping count.
- Improvements to graphs: legends more readable, x-axis descriptions added
that show round number plus date and time.
- Switched to `pngcairo' gnuplot terminal.
- Command line switch '-j' added for executing some processing in parallel.
* recompress-endurance-measurements: New post-processing utility for
re-compressing endurance data that was compressed with lzop.
sp-endurance (2.3), 27 Oct 2011:
* extract-endurance-process-cgroups:
- New utility that can be used to extract process Cgroup information from
endurance data. Produces results in either text or HTML format.
* endurance_report.py:
- Parse the DSME rich-core data that we collect and report process crashes.
- Fix some endurance report creation failures with invalid/incomplete data.
* endurance_plot:
- New histogram plot `CPU time in state', that shows the distribution of
CPU frequencies.
* save-incremental-endurance-stats:
- Collect `/sys/devices/system/cpu' recursively.
- Collect `/sys/fs' recursively.
- Collect `/var/lib/upstart/jobs_respawned'.
- Collect `/proc/*/wchan'.
- Collect kernel ring buffer content with `dmesg' if no syslogs found.
sp-endurance (2.2.11), 20 Oct 2011:
* endurance_report.py:
- Report now shows changes in Cgroup memory usage. Additionally, for each
new process the Cgroup for the process is shown.
* endurance_plot:
- Small improvement in smaps data parsing performance.
- Heap and #smaps plots are now dynamically divided into several subplots
for improved readability.
sp-endurance (2.2.10), 6 Oct 2011:
* endurance_plot:
- Switch from ImageMagick to Netpbm for thumbnail generation. Improves
performance on ARM.
- Networking plots added.
- Exit with non-zero return value on error.
- Add support for XZ compressed smaps.cap.
sp-endurance (2.2.9), 7 Sep 2011:
* endurance_report.py: improve report generation speed.
* endurance_plot:
- Visualize collected Cgroup information.
- CPU utilization histogram added.
sp-endurance (2.2.8), 15 Aug 2011:
* Fix the sp-endurance-postproc debian packaging to depend on perl instead of
perl-base.
sp-endurance (2.2.7), 23 Jun 2011:
* save-incremental-endurance-stats:
- Collect /syspart recursively for Cgroup information.
- Collect ramzswap statistics.
sp-endurance (2.2.6), 20 Jun 2011:
* extract-endurance-process-smaps: fix bashisms, fix zero return value when
no processes matching the user given string is found.
* endurance_report.py: fix div-by-zero seen with incomplete smaps capture
file
* endurance_plot: new graphs, and several small fixes.
sp-endurance (2.2.5), 18 Apr 2011:
* save-incremental-endurance-stats:
- Collect /var/log/messages.
- Collect /proc/pagetypeinfo.
- If xprop or xmeminfo report a failure, give a warning about Xauthority
settings.
sp-endurance (2.2.4), 15 Apr 2011:
* endurance_report.py: fix disproportional graph visualization when using
browser zoom
sp-endurance (2.2.3), 14 Apr 2011:
* syslog_parse.py: fix kernel OOM message detection
sp-endurance (2.2.2), 7 Mar 2011:
* extract-endurance-process-smaps accepts a subset of snapshot dirs
* endurance_plot:
- Fixed cases where endurance_plot used gigabytes of memory.
- Battery information (bmestat) visualization.
- Compressed swap (ramzswap) visualization.
sp-endurance (2.2.1), 28 Feb 2011:
* replace support for obsolete memory limits in old Maemo releases
with hard-coded Linux kernel OOM limit (with dummy data output by
proc2csv for compatiblity to old sp-endurance-postproc versions).
* Replace the use of sysinfo-tool with sysinfoclient.
* Do not pass arguments to echo(1), they are not portable.
* Invoke df(1) with POSIX locale and "-k -P" for portability.
* Add battery information to endurance data snapshot.
sp-endurance (2.2), 19 Jan 2011:
* endurance_report.py: fix IndexError with more than 4 network interfaces.
sp-endurance (2.1.9), 28 Dec 2010:
* save-incremental-endurance-stats: collect /proc/diskstats and
/proc/zoneinfo.
* endurance_plot:
- New IO plots based on /proc/diskstats.
- Various small tweaks.
sp-endurance (2.1.8), 03 Dec 2010:
* New post-processing tool `endurance_plot'.
- endurance_plot creates a large variety of (RAM, swap, CPU, X resource
usage, interrupt, context switch etc) graphs from sp-endurance collected
data for trend analysis.
* Get bootreason from sysinfo.
* Fix proc2csv errors with long lines.
* Fix unnecessary sysinfoclient output parsing.
sp-endurance (2.1.7), 17 Nov 2010:
* Remove use of deprecated /proc/component_version and /proc/bootreason
interfaces.
sp-endurance (2.1.6), 26 Oct 2010:
* endurance_report.py: track DRI2Drawable resource atom count changes.
* save-incremental-endurance-stats: provide default value for DISPLAY.
sp-endurance (2.1.5), 21 Oct 2010:
* xmeminfo: add support for new X resource types. This changes the CSV
output format produced by xmeminfo.
* xmeminfo: optionally report only specified atoms: add new parameter
-a/-atom.
* endurance_report.py: add support for new xmeminfo CSV format.
* Add dependency to sysinfo-tool to fix useless release identification in
usage.csv produced by save-incremental-endurance-stats.
sp-endurance (2.1.4), 05 Oct 2010:
* endurance_report.py: report change from initial state -
sp-endurance (2.1.3), 31 Aug 2010:
* endurance-mem-overview: take SwapCached into account.
* endurance_report.py: Improve the heuristics for selecting processes for
the 'Process memory usage' section:
i) Prune processes that do not use any CPU ticks.
ii) Include processes that used at least 0.5% of total CPU time during
the first and last round.
sp-endurance (2.1.2), 23 Aug 2010:
* Update save-incremental-endurance-stats for Harmattan.
sp-endurance (2.1.1), 18 May 2010:
* Prominent notice about reboots in endurance reports.
sp-endurance (2.1), 21 Apr 2010:
* Handle X client names with commas and df filesystem usage output
spanning multiple lines.
* Store focused/topmost application name if use-case step description
is missing.
* Improved heuristics for removing memove graphs for non-interesting
processes, with a fix for swap+dirty accounting and a new --show-all
option to get graphs for all processes.
sp-endurance (2.0.3), 05 Mar 2010:
* Use "-a" option for ifconfig.
* Correct swap/page in/out, interrupt and context switch counts,
they were 100x off.
sp-endurance (2.0.2), 21 Jan 2010:
* Fix the post-processing exception when network interfaces are
active, but have no traffic.
* Add CI test script.
sp-endurance (2.0.1), 12 Nov 2009:
* Do not mangle the last character in the process command line.
* Proper error handling in case low memory limits are missing from the data.
sp-endurance (2.0), 30 Oct 2009:
* "proc2csv" stores the whole process command line; this makes the data
format incompatible with older sp-endurance-postproc versions.
, NB#144586
* "endurance-mem-overview" takes swap into account and it's now possible
to specify the shown memory usage range.
* Show X resource count differencies in addition to X resource memory usage
in the summary at the end.
* Show network interface transfers graph in the beginning.
* Add "extract-endurance-process-smaps" helper script.
* Support Fremantle low memory limits scheme.
* Update documentation
sp-endurance (1.24), 9 Jun 2009:
* Give more detailed X resource usage information and log use of unknown
X resources. Data format change is incompatible with previous
sp-endurance-postproc versions
sp-endurance (1.23), 9 Jun 2009:
* Fix harmless Coverity reported leak on error exit + set freed
namelist entries NULL in proc2csv.
sp-endurance (1.22), 1 Jun 2009:
* Fix divide-by-zero error on identical (copied) data.
sp-endurance (1.21), 19 May 2009:
* CPU/swap/interrups/context switch statistics added.
sp-endurance (1.20), 5 May 2009:
* Fix endurance_report.py to work with Scratchbox Python v2.3.
sp-endurance (1.19), 28 Apr 2009:
* More statistics added.
* : sp-endurance/syslog parser doesn't catch upstart reported
crash/restart messages
* : sp-endurance uses obsolete /etc/osso_software_version
sp-endurance (1.18), 16 Apr 2009:
* Add PSS and SWAP support to endurance_report.py
sp-endurance (1.17), 3 Mar 2009:
* Syslog parser now recognizes and reports D-BUS warnings about
applications having too wide signal matching rules.
sp-endurance (1.16), 4 Dec 2008:
* The shared memory segment stats are now included in the main report
page.
sp-endurance (1.15), 21 Aug 2008:
* Fixed a Lintian warning.
sp-endurance (1.14), 21 Aug 2008:
* Remove support for SleepAVG as newer kernels don't support it.
sp-endurance (1.13), 25 Jun 2008:
* The message output introduced by the fix in version 1.12 has been
tweaked slightly.
sp-endurance (1.12), 25 Jun 2008:
* Parse kernel BUG and onenand_wait issues.
sp-endurance (1.11), 30 May 2008:
* Compatibility issue with older endurance data was fixed. Fixes:
NB#86013
sp-endurance (1.10), 30 Apr 2008:
* Support for adding use-case test descriptions has been implemented.
sp-endurance (1.9), 16 Apr 2008:
* Fixed broken detection of kernel OOM messages caused by change in
case.
sp-endurance (1.8), 4 Apr 2008:
* Fixed endurance parsing failure when process smaps data had no
private dirty memory.
sp-endurance (1.7), 1 Apr 2008:
* Fixed syslog rotation handling issue.
sp-endurance (1.6), 22 Feb 2008:
* Fixed empty DSME files not being handled gracefully.
sp-endurance (1.5), 20 Feb 2008:
* A rare warning message also triggered an exception in endurance
report script.
sp-endurance (1.4), 14 Jan 2008:
* save-incremental-endurance-stats: argument handling robustness has
been improved.
sp-endurance (1.3), 28 Nov 2007:
* save-incremental-endurance-stats: when sp_smaps_snapshot is
missing, produces (about) same data with few lines of shell
* parse-endurance-measurements: handle compressed smaps files
* endurance_report.py: show smaps private-dirty information
in application memory usage graphs
* update/fix README
sp-endurance (1.2), 6 Nov 2007:
* save-incremental-endurance-stats: save open file descriptors,
use proc2csv in permissive mode so that also non-root can get
data required in postprocessing.
* endurance_report.py: link open-fds and smaps.cap files, include
SwapCached to system free and show swap change in summary,
show differences in process thread counts
* compress smaps.cap in save-incremental-endurance-stats and
handle that in endurance_report.py.
* endurance_report.py: Fail more gracefully when encountering mixed-
version endurance data.
sp-endurance (1.1.18), 2 Oct 2007:
* syslog_parse.py: handle syslog read failures gracefully.
Fix to 66123 got dates in Glib errors duplicated, fixed.
sp-endurance (1.1.17), 31 Aug 2007:
* Added a missing a comma in a dictionary declaration at
syslog_parse.py.
sp-endurance (1.1.16), 12 Jul 2007:
* Include day to the errors parsed from syslog.
sp-endurance (1.1.15), 12 Jul 2007:
* Parse bootup reason from syslog.
sp-endurance (1.1.14), 24 May 2007:
* Parse kernel I/O errors from syslog
sp-endurance (1.1.13), 9 May 2007:
* Have complete license text in the source package instead of just
referring to system GPL-2 license file. Add copyright and license
information to manpages.
sp-endurance (1.1.12), 3 May 2007:
* Sort resource usage tables according to changes, not total
* Fix to python exception in get_pid_usage_diffs()
sp-endurance (1.1.11), 26 Apr 2007:
* Ignore all resources (i.e. also private memory and FDs)
used by extra threads processes have.
* Add endurance-mem-overview Awk script giving a quick memory usage
overview ASCII-graph from the endurance data which can be run on
the target device (as it doesn't need Python)
sp-endurance (1.1.10), 17 Apr 2007:
* List also changes in kernel threads and zombie processes
* Fold the script save-incremental-endurance-stats calls back
* Fix to new thread ignore code.
sp-endurance (1.1.9), 16 Apr 2007:
* Do not ignore any processes, even my own
* Cope with missing SMAPS data in endurance_report.py.
sp-endurance (1.1.8), 12 Apr 2007:
* Fix how threads are indentified for removal from memory usage graphs.
sp-endurance (1.1.7), 4 Apr 2007:
* Added manual pages for all the tools and include README to postproc
binary package.
sp-endurance (1.1.6), 13 Mar 2007:
* endurance script now parses amount of dirty code pages from smaps
data (which indicates incorrectly compiled libraries) and there's
a separate sum-dirty-code-pages script for doing the same on the device
sp-endurance (1.1.5), 1 Mar 2007:
* syslog_parse.py: Check each syslog line for all recognized messages
in case device boots in middle of line and check SysRq messages
* endurance_report.py: Do not show bars for repeating process memory
values and sort processes better, cleanup SMAPS parsing
* *.sh: Remove file name extension to make Lintian happy
* Add sum-smaps-private and split-endurance-measurements scripts
* sp-smaps-measure is now also optional
* Prepare for Open Source release, add proper copyrights etc
sp-endurance (1.1.4), 8 Feb 2007:
* Parse private/dirty values from SMAPS data myself instead of relying
on sp-smaps-visualize as it was way too slow
* Add several options to parse-endurance-measurements.sh for controlling
which measurements are parsed, whether to call sp-smaps-visualize and
whether to split reports at reboots
* Further improvements to the memory usage graphs
sp-endurance (1.1.3), 28 Nov 2006:
* Ignore immediately repeated errors in error counts
* Fix error message that gave Python exeption
* Show FS usage instead of free (as the table title says)
* Major improvements and fixes to process memory usage graphs
* Use tables for colorbars instead of images so that
the HTML can be attached to mails or bugzilla
sp-endurance (1.1.2), 20 Dec 2006:
* Fix another bug in case syslogs didn't have any errors
* Parse Glib ERRORs + kernel OOMs and alloc denials from syslog
* Add contents list to error HTML file
* Don't remove SMAPS diff file
sp-endurance (1.1.1), 28 Nov 2006:
* Fix bug in case syslogs didn't have any errors
sp-endurance (1.1), 24 Nov 2006:
* Packaging:
- devel package, postproc is "Architecture: all" + relevant rules fixes
* Measurements:
- compress whole syslog and remove syslog grepping
- save the measurement files in to separate directories
- proc2csv parses also /proc/vmstat
- add /sbin/ifconfig and interrupts/slabinfo/stat files from /proc
- save DSME statistics
* Syslog errors postprocessing:
- separated syslog parsing to separate syslog_parse.py file so that
it can be used also standalone
- parse normal/separate syslog files instead of CSV endurance file
- add support for gzipped syslog files
- separate different types of DSME and Glib errors
- parse and count kernel Oopses, reboots, DSP errors and
connectivity errors&warnings from syslogs
- support both HTML and ASCII output
- parsing debug option
- error summary
- fix bug in syslog parsing with appended syslogs
* SMAPS data parsing:
- Don't redo SMAPS CSV files if they already exist
* Other endurance data postprocessing:
- rename endurance-report.py to endurance_report.py
- always print error message before failing exit
- arguments are directories instead of file names
- syslog data is now parsed from file separate from the CSV file
and parsing put the separate file (see above)
- output disk free changes (for '/' and '/tmp')
- show whole device /proc/sys/fs/file-nr changes
- output also X resource usage decreases
- save errors to separate HTML pages
- output statistics and summary of different error types
- output summary of disk/memory/X resource/FD usage changes
- add process changed/total counts with started/exited processes
listed side by side
- remove "sleep" from all the lists
- color code tables containing different data
- add change totals to all tables
- HTML comment summary of all statistics for maturity metrics
- parse process statistics from /proc/PID/status files
- add bars of RSS memory changes per process (for processes
which max. RSS usage changes between tests)
- add contents and otherwise fine-tune report output
* Documentation:
- Update README according to changes
sp-endurance (1.0-7), 14 Sep 2006:
* save also full syslog and /proc/slabinfo data
* shows the warnings from syslog although syslogs don't seem to match
* fix to Browser X client name idiocy
sp-endurance (1.0-6), 6 Jul 2006:
* fix bug in memory calculation introduced by last update
sp-endurance (1.0-5), 9 Jun 2006:
* I fixed a bug that didn't always handle correctly processes that exited when proc2csv was running
* now also takes the memory limits from /proc i.e. the bargraphs take now also swap into account
sp-endurance (1.0-4), 16 May 2006:
* With this you'll get again correct names in the report for
the maemo-launched binaries (smaps diff never before contained them,
but earlier my own script could map the names itself because earlier
diff file used real PIDs)
sp-endurance (1.0-3), 4 May 2006:
* Updated endurance parser to support the new smaps format
sp-endurance (1.0-2), 4 May 2006:
* Updated package to include changes to path's in script
* Removed .svn dirs
* Improved README
* changelog
* debian/changelog
sp-endurance (1.0-1), 24 Mar 2006:
* Initial release