maemo-tools:sp-endurance.git
5 years agosp-endurance v2.3 v2.3
Tommi Rantala [Thu, 27 Oct 2011 11:11:42 +0000 (14:11 +0300)]
sp-endurance v2.3

5 years agodebian/control: add `liblist-moreutils-perl' dependency required by `extract-enduranc...
Tommi Rantala [Thu, 27 Oct 2011 10:48:19 +0000 (13:48 +0300)]
debian/control: add `liblist-moreutils-perl' dependency required by `extract-endurance-process-cgroups'

5 years agoInclude the new `extract-endurance-process-cgroups' in sp-endurance-postproc package
Tommi Rantala [Thu, 27 Oct 2011 10:47:18 +0000 (13:47 +0300)]
Include the new `extract-endurance-process-cgroups' in sp-endurance-postproc package

5 years agodebian/copyright: copyright year update
Tommi Rantala [Thu, 27 Oct 2011 10:46:27 +0000 (13:46 +0300)]
debian/copyright: copyright year update

5 years agoextract-endurance-process-cgroups: new utility for extracting Cgroup process informat...
Tommi Rantala [Thu, 27 Oct 2011 10:43:20 +0000 (13:43 +0300)]
extract-endurance-process-cgroups: new utility for extracting Cgroup process information from endurance data

5 years agoCollect /proc/*/wchan
Tommi Rantala [Thu, 27 Oct 2011 06:38:37 +0000 (09:38 +0300)]
Collect /proc/*/wchan

5 years agoCollect /var/lib/upstart/jobs_respawned
Tommi Rantala [Wed, 26 Oct 2011 12:16:46 +0000 (15:16 +0300)]
Collect /var/lib/upstart/jobs_respawned

5 years agoendurance_report.py: report process crashes reported by DSME
Tommi Rantala [Wed, 26 Oct 2011 11:59:38 +0000 (14:59 +0300)]
endurance_report.py: report process crashes reported by DSME

Parse the DSME rich-core data we are collecting, and create a new table
to the endurance report that tells what process crashed and how many
times during the round.

5 years agoendurance_plot: remove non-maintained versioning information
Tommi Rantala [Wed, 26 Oct 2011 08:42:34 +0000 (11:42 +0300)]
endurance_plot: remove non-maintained versioning information

5 years agoendurance_report.py: create per process HTML anchors to the memory usage section
Tommi Rantala [Wed, 26 Oct 2011 08:33:50 +0000 (11:33 +0300)]
endurance_report.py: create per process HTML anchors to the memory usage section

Create per process HTML anchors to the memory usage section, so that it
is easy to refer people to specific process in the endurance report:

   http://.../endurance-report.html#memory_dbus-daemon_2387

5 years agoendurance_report.py: fix access to non-existent hash keys with incomplete data
Tommi Rantala [Wed, 26 Oct 2011 08:06:42 +0000 (11:06 +0300)]
endurance_report.py: fix access to non-existent hash keys with incomplete data

5 years agoendurance_plot: check array size explicitly
Tommi Rantala [Wed, 26 Oct 2011 07:52:41 +0000 (10:52 +0300)]
endurance_plot: check array size explicitly

5 years agoendurance_plot: fix 'perl -w' warning when `first_upt' is uninitialized
Tommi Rantala [Wed, 26 Oct 2011 07:51:23 +0000 (10:51 +0300)]
endurance_plot: fix 'perl -w' warning when `first_upt' is uninitialized

5 years agoendurance_plot: explicitly initialize `prev_max' to zero to fix 'perl -w' warnings
Tommi Rantala [Wed, 26 Oct 2011 07:49:59 +0000 (10:49 +0300)]
endurance_plot: explicitly initialize `prev_max' to zero to fix 'perl -w' warnings

5 years agoendurance_plot: fix 'perl -w' warnings for use of uninitialized hash entries
Tommi Rantala [Wed, 26 Oct 2011 07:48:06 +0000 (10:48 +0300)]
endurance_plot: fix 'perl -w' warnings for use of uninitialized hash entries

5 years agoendurance_plot: remove unused variable `swap_events_cumul'
Tommi Rantala [Wed, 26 Oct 2011 07:43:44 +0000 (10:43 +0300)]
endurance_plot: remove unused variable `swap_events_cumul'

5 years agoendurance_plot: remove unused variable `ptables'
Tommi Rantala [Wed, 26 Oct 2011 07:42:13 +0000 (10:42 +0300)]
endurance_plot: remove unused variable `ptables'

5 years agoendurance_plot: comment out variable only used for debugging purposes
Tommi Rantala [Wed, 26 Oct 2011 07:41:06 +0000 (10:41 +0300)]
endurance_plot: comment out variable only used for debugging purposes

5 years agoendurance_plot: declare locally used 'ofile' variable in value_emit()
Tommi Rantala [Wed, 26 Oct 2011 07:40:05 +0000 (10:40 +0300)]
endurance_plot: declare locally used 'ofile' variable in value_emit()

5 years agoendurance_plot: use implicit underscore variable in loops
Tommi Rantala [Wed, 26 Oct 2011 07:37:40 +0000 (10:37 +0300)]
endurance_plot: use implicit underscore variable in loops

5 years agoendurance_plot: remove unused variables `num_values' and `num_names'
Tommi Rantala [Wed, 26 Oct 2011 07:32:59 +0000 (10:32 +0300)]
endurance_plot: remove unused variables `num_values' and `num_names'

5 years agoendurance_plot: initialize and clear hashes by assigning empty list instead of 'undef'
Tommi Rantala [Wed, 26 Oct 2011 07:26:00 +0000 (10:26 +0300)]
endurance_plot: initialize and clear hashes by assigning empty list instead of 'undef'

5 years agoendurance_plot: simplify 'show_this' check and fix 'perl -w' warnings
Tommi Rantala [Wed, 26 Oct 2011 07:16:15 +0000 (10:16 +0300)]
endurance_plot: simplify 'show_this' check and fix 'perl -w' warnings

5 years agoendurance_plot: strictness fixes: scope for loop variables with 'my'
Tommi Rantala [Wed, 26 Oct 2011 07:12:16 +0000 (10:12 +0300)]
endurance_plot: strictness fixes: scope for loop variables with 'my'

5 years agoendurance_plot: chop implicitly
Tommi Rantala [Wed, 26 Oct 2011 07:09:57 +0000 (10:09 +0300)]
endurance_plot: chop implicitly

5 years agoendurance_plot: use filehandles instead of indirect filehandles for better readability
Tommi Rantala [Wed, 26 Oct 2011 07:06:15 +0000 (10:06 +0300)]
endurance_plot: use filehandles instead of indirect filehandles for better readability

5 years agoendurance_plot: fix use of non-existent 'true' keyword
Tommi Rantala [Tue, 25 Oct 2011 07:10:09 +0000 (10:10 +0300)]
endurance_plot: fix use of non-existent 'true' keyword

5 years agoendurance_plot: strictness fixes: scope locally used variables with 'my'
Tommi Rantala [Tue, 25 Oct 2011 07:08:19 +0000 (10:08 +0300)]
endurance_plot: strictness fixes: scope locally used variables with 'my'

5 years agoendurance_plot: strictness fixes: scope foreach loop variables with 'my'
Tommi Rantala [Tue, 25 Oct 2011 06:38:29 +0000 (09:38 +0300)]
endurance_plot: strictness fixes: scope foreach loop variables with 'my'

5 years agoendurance_plot: fix use of C style 'break' keyword
Tommi Rantala [Tue, 25 Oct 2011 06:23:15 +0000 (09:23 +0300)]
endurance_plot: fix use of C style 'break' keyword

5 years agoendurance_plot: strictness fixes: declare variables used globally
Tommi Rantala [Tue, 25 Oct 2011 06:20:41 +0000 (09:20 +0300)]
endurance_plot: strictness fixes: declare variables used globally

5 years agoendurance_plot: strictness fixes: declare multiple variables with parenthesis
Tommi Rantala [Tue, 25 Oct 2011 06:19:08 +0000 (09:19 +0300)]
endurance_plot: strictness fixes: declare multiple variables with parenthesis

5 years agoendurance_plot: parse 'component_version' in separate function
Tommi Rantala [Tue, 25 Oct 2011 06:11:52 +0000 (09:11 +0300)]
endurance_plot: parse 'component_version' in separate function

5 years agoendurance_plot: new plot type `CPU time in state'
Tommi Rantala [Mon, 24 Oct 2011 10:30:28 +0000 (13:30 +0300)]
endurance_plot: new plot type `CPU time in state'

Create histogram plots that show the distribution of time the CPU(s)
spent in different frequencies.

5 years agoendurance_plot: allow to abort processing with Ctrl-C
Tommi Rantala [Mon, 24 Oct 2011 09:10:44 +0000 (12:10 +0300)]
endurance_plot: allow to abort processing with Ctrl-C

Handle gnuplot and thumnail generation processes dying with common
termination signals to allow for Ctrl-C to work properly.

5 years agoendurance_plot: fix div-by-zero seen with invalid data
Tommi Rantala [Mon, 24 Oct 2011 07:57:40 +0000 (10:57 +0300)]
endurance_plot: fix div-by-zero seen with invalid data

5 years agoendurance_plot: cleanup error and warnings messages
Tommi Rantala [Mon, 24 Oct 2011 07:56:14 +0000 (10:56 +0300)]
endurance_plot: cleanup error and warnings messages

5 years agoUpdate RPM packaging
Andris Zeila [Tue, 25 Oct 2011 08:09:05 +0000 (11:09 +0300)]
Update RPM packaging

5 years agoendurance_plot: fix smaps plot legend typo introduced in v2.2.11
Tommi Rantala [Mon, 24 Oct 2011 07:35:28 +0000 (10:35 +0300)]
endurance_plot: fix smaps plot legend typo introduced in v2.2.11

Fix typo introduced in commit 8ee2562c3804540bec8a27f9bae513002236a894
("endurance_plot: divide #smaps plot into subplots").

5 years agoCollect kernel ring buffer content is syslogs not available
Tommi Rantala [Fri, 21 Oct 2011 08:59:15 +0000 (11:59 +0300)]
Collect kernel ring buffer content is syslogs not available

5 years agoCollect CPU statistics from /sys
Tommi Rantala [Fri, 21 Oct 2011 08:58:34 +0000 (11:58 +0300)]
Collect CPU statistics from /sys

5 years agosp-endurance v2.2.11 v2.2.11
Tommi Rantala [Thu, 20 Oct 2011 12:05:58 +0000 (15:05 +0300)]
sp-endurance v2.2.11

5 years agochangelog: fix 2.2.10 release date
Tommi Rantala [Thu, 20 Oct 2011 12:04:44 +0000 (15:04 +0300)]
changelog: fix 2.2.10 release date

5 years agoINSTALL: quick installation instructions
Tommi Rantala [Thu, 20 Oct 2011 11:41:57 +0000 (14:41 +0300)]
INSTALL: quick installation instructions

5 years agoendurance_plot: divide #smaps plot into subplots
Tommi Rantala [Thu, 20 Oct 2011 11:28:33 +0000 (14:28 +0300)]
endurance_plot: divide #smaps plot into subplots

Improve readability of the "#smaps segments" plot by splitting it into
subplots.

5 years agoendurance_plot: divide heap plots dynamically to subplots
Tommi Rantala [Thu, 20 Oct 2011 11:24:38 +0000 (14:24 +0300)]
endurance_plot: divide heap plots dynamically to subplots

Improve readability of the heap plots by dynamically splitting
previously used 2 plots into max 5 subplots. We use some simple
heuristics to distribute the processes into these new subplots.

5 years agoendurance_plot: prune more non-changing processes from heap plots
Tommi Rantala [Thu, 20 Oct 2011 10:31:20 +0000 (13:31 +0300)]
endurance_plot: prune more non-changing processes from heap plots

5 years agoendurance_plot: rename param_prev_majflt to majflt_prev
Tommi Rantala [Wed, 19 Oct 2011 08:00:24 +0000 (11:00 +0300)]
endurance_plot: rename param_prev_majflt to majflt_prev

5 years agoRemove defaultdatadir redefinition from rpm packaging
Andris Zeila [Sun, 16 Oct 2011 08:34:39 +0000 (11:34 +0300)]
Remove defaultdatadir redefinition from rpm packaging

5 years agoUpdate rpm packaging
Andris Zeila [Thu, 13 Oct 2011 14:09:48 +0000 (17:09 +0300)]
Update rpm packaging

5 years agoUpdate rpm packaging
Andris Zeila [Thu, 13 Oct 2011 14:09:48 +0000 (17:09 +0300)]
Update rpm packaging

5 years agoUpdate rpm packagin spec file
Andris Zeila [Wed, 12 Oct 2011 12:44:07 +0000 (15:44 +0300)]
Update rpm packagin spec file

5 years agoendurance_plot: per X resource atom plotting code
Tommi Rantala [Tue, 11 Oct 2011 12:19:43 +0000 (15:19 +0300)]
endurance_plot: per X resource atom plotting code

With this patch it is possible to generate plots per X resource atoms.
In most cases the results are not very interesting, so leaving it
disabled by default.

5 years agoendurance_report.py: pretty-print interval length
Tommi Rantala [Tue, 11 Oct 2011 12:17:05 +0000 (15:17 +0300)]
endurance_report.py: pretty-print interval length

5 years agoendurance_plot: move total resource count calculation closer to point of usage
Tommi Rantala [Tue, 11 Oct 2011 11:15:09 +0000 (14:15 +0300)]
endurance_plot: move total resource count calculation closer to point of usage

5 years agoendurance_plot: change variable name from `param_used' to `total_cnt'
Tommi Rantala [Tue, 11 Oct 2011 11:11:39 +0000 (14:11 +0300)]
endurance_plot: change variable name from `param_used' to `total_cnt'

5 years agoendurance_plot: use better variable name
Tommi Rantala [Tue, 11 Oct 2011 11:09:47 +0000 (14:09 +0300)]
endurance_plot: use better variable name

5 years agoendurance_plot: smaps parsing: improve performance
Tommi Rantala [Tue, 11 Oct 2011 09:23:47 +0000 (12:23 +0300)]
endurance_plot: smaps parsing: improve performance

Before:
  $ time endurance_plot 10? >/dev/null
  real  0m19.783s
  user  0m19.981s
  sys   0m1.140s

After:
  $ time endurance_plot 10? >/dev/null
  real  0m16.523s
  user  0m16.801s
  sys   0m1.036s

5 years agoendurance_plot: remove commented out executable code detection
Tommi Rantala [Tue, 11 Oct 2011 09:16:30 +0000 (12:16 +0300)]
endurance_plot: remove commented out executable code detection

5 years agoendurance_plot: smaps parsing: match regexp last
Tommi Rantala [Tue, 11 Oct 2011 09:08:50 +0000 (12:08 +0300)]
endurance_plot: smaps parsing: match regexp last

Slightly improve performance by matching the regexp as late as possible.

Before:
  $ time endurance_plot 10? >/dev/null
  real   0m20.166s
  user   0m20.293s
  sys    0m1.048s

After:
  $ time endurance_plot 10? >/dev/null
  real   0m19.783s
  user   0m19.981s
  sys    0m1.140s

5 years agoendurance_plot: remove skyhost special casing
Tommi Rantala [Tue, 11 Oct 2011 09:05:39 +0000 (12:05 +0300)]
endurance_plot: remove skyhost special casing

5 years agoendurance_report.py: show Cgroup memory changes in new table
Tommi Rantala [Tue, 11 Oct 2011 09:05:10 +0000 (12:05 +0300)]
endurance_report.py: show Cgroup memory changes in new table

5 years agoendurance_report.py: amend process change table with Cgroup information
Tommi Rantala [Tue, 11 Oct 2011 08:59:58 +0000 (11:59 +0300)]
endurance_report.py: amend process change table with Cgroup information

In the table that lists new and exited processes, add new column that
tells the Cgroup name for new processes.

5 years agoendurance_report.py: add cgroups information parsing
Tommi Rantala [Fri, 7 Oct 2011 13:39:01 +0000 (16:39 +0300)]
endurance_report.py: add cgroups information parsing

5 years agoendurance_report.py: remove empty row in process change table
Tommi Rantala [Fri, 7 Oct 2011 08:11:01 +0000 (11:11 +0300)]
endurance_report.py: remove empty row in process change table

5 years agosp-endurance v2.2.10 v2.2.10
Tommi Rantala [Thu, 6 Oct 2011 12:16:33 +0000 (15:16 +0300)]
sp-endurance v2.2.10

5 years agodebian/control: replace imagemagick dependency with netpbm
Tommi Rantala [Thu, 6 Oct 2011 11:41:09 +0000 (14:41 +0300)]
debian/control: replace imagemagick dependency with netpbm

5 years agoRemove reference to convert(1)
Tommi Rantala [Fri, 30 Sep 2011 11:48:10 +0000 (14:48 +0300)]
Remove reference to convert(1)

5 years agosyslog_parse.py: add support for XZ compressed files
Tommi Rantala [Fri, 30 Sep 2011 09:14:52 +0000 (12:14 +0300)]
syslog_parse.py: add support for XZ compressed files

5 years agoendurance_plot: generate networking plots
Tommi Rantala [Fri, 30 Sep 2011 09:09:53 +0000 (12:09 +0300)]
endurance_plot: generate networking plots

Fixes: NB#260658 - endurance_plot: generate networking related plots

5 years agoendurance_plot: add support for XZ compressed smaps.cap
Tommi Rantala [Fri, 30 Sep 2011 09:09:08 +0000 (12:09 +0300)]
endurance_plot: add support for XZ compressed smaps.cap

5 years agoendurance_plot: switch to Netpbm for thumbnail generation
Tommi Rantala [Fri, 30 Sep 2011 09:00:37 +0000 (12:00 +0300)]
endurance_plot: switch to Netpbm for thumbnail generation

Switch from ImageMagick to Netpbm for thumbnail generation to speed up
endurance_plot on Harmattan device.

Before this change:
  # time endurance_plot 101 102 >/dev/null
  real    3m 9.91s
  user    2m 55.81s
  sys     0m 12.78s

With this change applied:
  # time endurance_plot 101 102 >/dev/null
  real    1m 16.04s
  user    1m 7.95s
  sys     0m 7.76s

5 years agoendurance_plot: exit with non-zero return value on error
Tommi Rantala [Fri, 30 Sep 2011 08:35:55 +0000 (11:35 +0300)]
endurance_plot: exit with non-zero return value on error

6 years agosp-endurance v2.2.9 v2.2.9
Tommi Rantala [Wed, 7 Sep 2011 12:11:32 +0000 (15:11 +0300)]
sp-endurance v2.2.9

6 years agoendurance_plot: ramzswap backing device is optional
Tommi Rantala [Wed, 7 Sep 2011 12:06:05 +0000 (15:06 +0300)]
endurance_plot: ramzswap backing device is optional

6 years agoendurance_plot: add vim modeline
Tommi Rantala [Wed, 7 Sep 2011 11:29:12 +0000 (14:29 +0300)]
endurance_plot: add vim modeline

6 years agoendurance_plot: CPU utilization plot
Tommi Rantala [Wed, 7 Sep 2011 11:28:11 +0000 (14:28 +0300)]
endurance_plot: CPU utilization plot

6 years agoendurance_plot: do not omit zero datapoints in `40_mem_shared_lpid_name'
Tommi Rantala [Wed, 7 Sep 2011 11:05:02 +0000 (14:05 +0300)]
endurance_plot: do not omit zero datapoints in `40_mem_shared_lpid_name'

6 years agoendurance_plot: cgroup plots
Tommi Rantala [Wed, 7 Sep 2011 10:59:10 +0000 (13:59 +0300)]
endurance_plot: cgroup plots

Fixes: NB#265657 - sp-endurance: collect and visualize cgroup memory
usage

6 years agoendurance_report.py: improve smaps.cap parsing performance - iterate lines with for...
Tommi Rantala [Wed, 31 Aug 2011 09:17:28 +0000 (12:17 +0300)]
endurance_report.py: improve smaps.cap parsing performance - iterate lines with for loop

Before:
Parsing 'data/101/usage.csv'...
Parsing 'data/101/smaps.cap.lzo'...
Parsing 'data/101/syslog.lzo'...
Parsing 'data/101/stat'...
Parsing 'data/101/ifconfig'...
Parsing 'data/102/usage.csv'...
Parsing 'data/102/smaps.cap.lzo'...
Parsing 'data/102/syslog.lzo'...
Parsing 'data/102/stat'...
Parsing 'data/102/ifconfig'...
Parsing 'data/103/usage.csv'...
Parsing 'data/103/smaps.cap.lzo'...
Parsing 'data/103/syslog.lzo'...
Parsing 'data/103/stat'...
Parsing 'data/103/ifconfig'...
Parsing 'data/104/usage.csv'...
Parsing 'data/104/smaps.cap.lzo'...
Parsing 'data/104/syslog.lzo'...
Parsing 'data/104/stat'...
Parsing 'data/104/ifconfig'...
real    0m 37.10s
user    0m 36.51s
sys     0m 0.63s

After:
Parsing 'data/101/usage.csv'...
Parsing 'data/101/smaps.cap.lzo'...
Parsing 'data/101/syslog.lzo'...
Parsing 'data/101/stat'...
Parsing 'data/101/ifconfig'...
Parsing 'data/102/usage.csv'...
Parsing 'data/102/smaps.cap.lzo'...
Parsing 'data/102/syslog.lzo'...
Parsing 'data/102/stat'...
Parsing 'data/102/ifconfig'...
Parsing 'data/103/usage.csv'...
Parsing 'data/103/smaps.cap.lzo'...
Parsing 'data/103/syslog.lzo'...
Parsing 'data/103/stat'...
Parsing 'data/103/ifconfig'...
Parsing 'data/104/usage.csv'...
Parsing 'data/104/smaps.cap.lzo'...
Parsing 'data/104/syslog.lzo'...
Parsing 'data/104/stat'...
Parsing 'data/104/ifconfig'...
real    0m 28.88s
user    0m 28.20s
sys     0m 0.68s

6 years agoendurance_report.py: improve smaps.cap parsing performance - remove trailing newline...
Tommi Rantala [Wed, 31 Aug 2011 09:15:12 +0000 (12:15 +0300)]
endurance_report.py: improve smaps.cap parsing performance - remove trailing newline instead of strip()

Before:
Parsing 'data/101/usage.csv'...
Parsing 'data/101/smaps.cap.lzo'...
Parsing 'data/101/syslog.lzo'...
Parsing 'data/101/stat'...
Parsing 'data/101/ifconfig'...
Parsing 'data/102/usage.csv'...
Parsing 'data/102/smaps.cap.lzo'...
Parsing 'data/102/syslog.lzo'...
Parsing 'data/102/stat'...
Parsing 'data/102/ifconfig'...
Parsing 'data/103/usage.csv'...
Parsing 'data/103/smaps.cap.lzo'...
Parsing 'data/103/syslog.lzo'...
Parsing 'data/103/stat'...
Parsing 'data/103/ifconfig'...
Parsing 'data/104/usage.csv'...
Parsing 'data/104/smaps.cap.lzo'...
Parsing 'data/104/syslog.lzo'...
Parsing 'data/104/stat'...
Parsing 'data/104/ifconfig'...
real    0m 41.26s
user    0m 40.60s
sys     0m 0.69s

After:
Parsing 'data/101/usage.csv'...
Parsing 'data/101/smaps.cap.lzo'...
Parsing 'data/101/syslog.lzo'...
Parsing 'data/101/stat'...
Parsing 'data/101/ifconfig'...
Parsing 'data/102/usage.csv'...
Parsing 'data/102/smaps.cap.lzo'...
Parsing 'data/102/syslog.lzo'...
Parsing 'data/102/stat'...
Parsing 'data/102/ifconfig'...
Parsing 'data/103/usage.csv'...
Parsing 'data/103/smaps.cap.lzo'...
Parsing 'data/103/syslog.lzo'...
Parsing 'data/103/stat'...
Parsing 'data/103/ifconfig'...
Parsing 'data/104/usage.csv'...
Parsing 'data/104/smaps.cap.lzo'...
Parsing 'data/104/syslog.lzo'...
Parsing 'data/104/stat'...
Parsing 'data/104/ifconfig'...
real    0m 37.10s
user    0m 36.51s
sys     0m 0.63s

6 years agoendurance_report.py: improve smaps.cap parsing performance - match substrings instead...
Tommi Rantala [Wed, 31 Aug 2011 09:13:14 +0000 (12:13 +0300)]
endurance_report.py: improve smaps.cap parsing performance - match substrings instead of calling startswith()

Before:
Parsing 'data/101/usage.csv'...
Parsing 'data/101/smaps.cap.lzo'...
Parsing 'data/101/syslog.lzo'...
Parsing 'data/101/stat'...
Parsing 'data/101/ifconfig'...
Parsing 'data/102/usage.csv'...
Parsing 'data/102/smaps.cap.lzo'...
Parsing 'data/102/syslog.lzo'...
Parsing 'data/102/stat'...
Parsing 'data/102/ifconfig'...
Parsing 'data/103/usage.csv'...
Parsing 'data/103/smaps.cap.lzo'...
Parsing 'data/103/syslog.lzo'...
Parsing 'data/103/stat'...
Parsing 'data/103/ifconfig'...
Parsing 'data/104/usage.csv'...
Parsing 'data/104/smaps.cap.lzo'...
Parsing 'data/104/syslog.lzo'...
Parsing 'data/104/stat'...
Parsing 'data/104/ifconfig'...
real    0m 53.88s
user    0m 53.26s
sys     0m 0.61s

After:
Parsing 'data/101/usage.csv'...
Parsing 'data/101/smaps.cap.lzo'...
Parsing 'data/101/syslog.lzo'...
Parsing 'data/101/stat'...
Parsing 'data/101/ifconfig'...
Parsing 'data/102/usage.csv'...
Parsing 'data/102/smaps.cap.lzo'...
Parsing 'data/102/syslog.lzo'...
Parsing 'data/102/stat'...
Parsing 'data/102/ifconfig'...
Parsing 'data/103/usage.csv'...
Parsing 'data/103/smaps.cap.lzo'...
Parsing 'data/103/syslog.lzo'...
Parsing 'data/103/stat'...
Parsing 'data/103/ifconfig'...
Parsing 'data/104/usage.csv'...
Parsing 'data/104/smaps.cap.lzo'...
Parsing 'data/104/syslog.lzo'...
Parsing 'data/104/stat'...
Parsing 'data/104/ifconfig'...
real    0m 41.26s
user    0m 40.60s
sys     0m 0.69s

6 years agoendurance_report.py: improve smaps.cap parsing performance - match smaps key & value...
Tommi Rantala [Mon, 29 Aug 2011 12:23:39 +0000 (15:23 +0300)]
endurance_report.py: improve smaps.cap parsing performance - match smaps key & value pairs before checking regexp

Before:
Parsing 'data/101/usage.csv'...
Parsing 'data/101/smaps.cap.lzo'...
Parsing 'data/101/syslog.lzo'...
Parsing 'data/101/stat'...
Parsing 'data/101/ifconfig'...
Parsing 'data/102/usage.csv'...
Parsing 'data/102/smaps.cap.lzo'...
Parsing 'data/102/syslog.lzo'...
Parsing 'data/102/stat'...
Parsing 'data/102/ifconfig'...
Parsing 'data/103/usage.csv'...
Parsing 'data/103/smaps.cap.lzo'...
Parsing 'data/103/syslog.lzo'...
Parsing 'data/103/stat'...
Parsing 'data/103/ifconfig'...
Parsing 'data/104/usage.csv'...
Parsing 'data/104/smaps.cap.lzo'...
Parsing 'data/104/syslog.lzo'...
Parsing 'data/104/stat'...
Parsing 'data/104/ifconfig'...
real    1m 6.69s
user    1m 5.88s
sys     0m 0.75s

After:
Parsing 'data/101/usage.csv'...
Parsing 'data/101/smaps.cap.lzo'...
Parsing 'data/101/syslog.lzo'...
Parsing 'data/101/stat'...
Parsing 'data/101/ifconfig'...
Parsing 'data/102/usage.csv'...
Parsing 'data/102/smaps.cap.lzo'...
Parsing 'data/102/syslog.lzo'...
Parsing 'data/102/stat'...
Parsing 'data/102/ifconfig'...
Parsing 'data/103/usage.csv'...
Parsing 'data/103/smaps.cap.lzo'...
Parsing 'data/103/syslog.lzo'...
Parsing 'data/103/stat'...
Parsing 'data/103/ifconfig'...
Parsing 'data/104/usage.csv'...
Parsing 'data/104/smaps.cap.lzo'...
Parsing 'data/104/syslog.lzo'...
Parsing 'data/104/stat'...
Parsing 'data/104/ifconfig'...
real    0m 53.88s
user    0m 53.26s
sys     0m 0.61s

6 years agoendurance_report.py: improve smaps.cap parsing performance - match first character...
Tommi Rantala [Fri, 19 Aug 2011 13:06:21 +0000 (16:06 +0300)]
endurance_report.py: improve smaps.cap parsing performance - match first character instead of calling startswith()

Before:
Parsing 'data/101/usage.csv'...
Parsing 'data/101/smaps.cap.lzo'...
Parsing 'data/101/syslog.lzo'...
Parsing 'data/101/stat'...
Parsing 'data/101/ifconfig'...
Parsing 'data/102/usage.csv'...
Parsing 'data/102/smaps.cap.lzo'...
Parsing 'data/102/syslog.lzo'...
Parsing 'data/102/stat'...
Parsing 'data/102/ifconfig'...
Parsing 'data/103/usage.csv'...
Parsing 'data/103/smaps.cap.lzo'...
Parsing 'data/103/syslog.lzo'...
Parsing 'data/103/stat'...
Parsing 'data/103/ifconfig'...
Parsing 'data/104/usage.csv'...
Parsing 'data/104/smaps.cap.lzo'...
Parsing 'data/104/syslog.lzo'...
Parsing 'data/104/stat'...
Parsing 'data/104/ifconfig'...
real    1m 12.25s
user    1m 11.50s
sys     0m 0.75s

After:
Parsing 'data/101/usage.csv'...
Parsing 'data/101/smaps.cap.lzo'...
Parsing 'data/101/syslog.lzo'...
Parsing 'data/101/stat'...
Parsing 'data/101/ifconfig'...
Parsing 'data/102/usage.csv'...
Parsing 'data/102/smaps.cap.lzo'...
Parsing 'data/102/syslog.lzo'...
Parsing 'data/102/stat'...
Parsing 'data/102/ifconfig'...
Parsing 'data/103/usage.csv'...
Parsing 'data/103/smaps.cap.lzo'...
Parsing 'data/103/syslog.lzo'...
Parsing 'data/103/stat'...
Parsing 'data/103/ifconfig'...
Parsing 'data/104/usage.csv'...
Parsing 'data/104/smaps.cap.lzo'...
Parsing 'data/104/syslog.lzo'...
Parsing 'data/104/stat'...
Parsing 'data/104/ifconfig'...
real    1m 6.69s
user    1m 5.88s
sys     0m 0.75s

6 years agosp-endurance v2.2.8 v2.2.8
Tommi Rantala [Mon, 15 Aug 2011 13:23:31 +0000 (16:23 +0300)]
sp-endurance v2.2.8

6 years agodebian/control: depend on perl instead of perl-base
Tommi Rantala [Mon, 15 Aug 2011 13:23:16 +0000 (16:23 +0300)]
debian/control: depend on perl instead of perl-base

6 years agoadd the old analysis document on which sp-endurance tool is based on
Eero Tamminen [Fri, 15 Jul 2011 16:52:47 +0000 (19:52 +0300)]
add the old analysis document on which sp-endurance tool is based on

6 years agosp-endurance v2.2.7 v2.2.7
Tommi Rantala [Thu, 23 Jun 2011 11:21:56 +0000 (14:21 +0300)]
sp-endurance v2.2.7

6 years agosave-incremental-endurance-stats: collect ramzswap statistics
Tommi Rantala [Thu, 23 Jun 2011 08:58:21 +0000 (11:58 +0300)]
save-incremental-endurance-stats: collect ramzswap statistics

6 years agosave-incremental-endurance-stats: collect control cgroup information from /syspart
Tommi Rantala [Thu, 23 Jun 2011 08:03:26 +0000 (11:03 +0300)]
save-incremental-endurance-stats: collect control cgroup information from /syspart

6 years agoendurance-mem-overview: do not pass arguments to echo(1)
Tommi Rantala [Wed, 22 Jun 2011 11:52:23 +0000 (14:52 +0300)]
endurance-mem-overview: do not pass arguments to echo(1)

Do not pass arguments to echo(1), they are not portable.

6 years agodebian/control: remove sp-smaps-measure recommendation
Tommi Rantala [Mon, 20 Jun 2011 13:12:26 +0000 (16:12 +0300)]
debian/control: remove sp-smaps-measure recommendation

sp-smaps-measure is no longer recommended, but a direct dependency.

6 years agosp-endurance v2.2.6 v2.2.6
Tommi Rantala [Mon, 20 Jun 2011 12:56:58 +0000 (15:56 +0300)]
sp-endurance v2.2.6

6 years agoextract-endurance-process-smaps: return non-zero when nothing appropriate found
Tommi Rantala [Mon, 20 Jun 2011 12:51:28 +0000 (15:51 +0300)]
extract-endurance-process-smaps: return non-zero when nothing appropriate found

6 years agoendurance_plot: fix missing label for `PSS+SWP' graphs in some corner cases
Tommi Rantala [Mon, 20 Jun 2011 12:12:55 +0000 (15:12 +0300)]
endurance_plot: fix missing label for `PSS+SWP' graphs in some corner cases

The graph title was missing for example when we had only one entry in
the PSS+SWP graph.

6 years agoendurance_plot: fix omission of zero entries from the CPU graphs
Tommi Rantala [Mon, 20 Jun 2011 12:12:07 +0000 (15:12 +0300)]
endurance_plot: fix omission of zero entries from the CPU graphs

6 years agoendurance_plot: ignore always-zero first round value for the `page faults' graphs
Tommi Rantala [Mon, 20 Jun 2011 12:09:49 +0000 (15:09 +0300)]
endurance_plot: ignore always-zero first round value for the `page faults' graphs

6 years agoendurance_plot: fix omission of zero entries from the CTX graphs
Tommi Rantala [Mon, 20 Jun 2011 12:07:44 +0000 (15:07 +0300)]
endurance_plot: fix omission of zero entries from the CTX graphs

6 years agoendurance_plot: be more strict
Tommi Rantala [Mon, 20 Jun 2011 12:00:41 +0000 (15:00 +0300)]
endurance_plot: be more strict

6 years agoendurance_plot: fix omission of zero entries from the diskstat graphs
Tommi Rantala [Mon, 20 Jun 2011 11:59:41 +0000 (14:59 +0300)]
endurance_plot: fix omission of zero entries from the diskstat graphs