maemo-tools:sp-endurance.git
5 years agosp-endurance v4.0.0 master v4.0.0
Tommi Rantala [Mon, 8 Oct 2012 09:16:12 +0000 (12:16 +0300)]
sp-endurance v4.0.0

5 years agoUpdate packages/rpm/sp-endurance.spec for v4.0.0
Tommi Rantala [Mon, 8 Oct 2012 09:16:12 +0000 (12:16 +0300)]
Update packages/rpm/sp-endurance.spec for v4.0.0

Update the example RPM spec file to match upcoming v4.0.0 release.
Please note that this is untested, the spec was only updated to match
the new file names in sp-endurance.

5 years agoInstruct `NO_X=1' in INSTALL
Tommi Rantala [Mon, 8 Oct 2012 09:22:06 +0000 (12:22 +0300)]
Instruct `NO_X=1' in INSTALL

5 years agoChange snapshot directory naming to start from 000
Tommi Rantala [Mon, 8 Oct 2012 09:16:12 +0000 (12:16 +0300)]
Change snapshot directory naming to start from 000

Change the directory names of the endurance directories collected by
`endurance-snapshot' from 101, 102, 103, ... to 000, 001, 002, ...

We hope that the new numbering is more obvious than the old one. The
endurance-report script was already talking about "initial state",
"round 1", ..., and the new numbers match to those nicely.

5 years agoUpdate man/endurance-plot.1 to match current implementation
Tommi Rantala [Mon, 8 Oct 2012 09:16:12 +0000 (12:16 +0300)]
Update man/endurance-plot.1 to match current implementation

5 years agoendurance-snapshot: check DISPLAY only when needed
Tommi Rantala [Mon, 8 Oct 2012 09:16:12 +0000 (12:16 +0300)]
endurance-snapshot: check DISPLAY only when needed

Do not complain about missing DISPLAY unless we are going to need it.

5 years agoUse new program names in tests/test-endurance.sh
Tommi Rantala [Mon, 8 Oct 2012 09:16:12 +0000 (12:16 +0300)]
Use new program names in tests/test-endurance.sh

5 years agoUse new program names in documentation
Tommi Rantala [Mon, 8 Oct 2012 09:16:12 +0000 (12:16 +0300)]
Use new program names in documentation

5 years agoUse new program names in all tools
Tommi Rantala [Mon, 8 Oct 2012 09:16:12 +0000 (12:16 +0300)]
Use new program names in all tools

5 years agoMakefile: install manual page for endurance-extract-process-cgroups
Tommi Rantala [Mon, 8 Oct 2012 09:16:12 +0000 (12:16 +0300)]
Makefile: install manual page for endurance-extract-process-cgroups

5 years agoUse common `endurance-' prefix for executables
Tommi Rantala [Mon, 8 Oct 2012 09:16:12 +0000 (12:16 +0300)]
Use common `endurance-' prefix for executables

Rename the executables to share a common `endurance-' prefix for
improved clarity and easier discovery. The data collection script
`save-incremental-endurance-stats' is renamed to `endurance-snapshot',
and the word "measurement" is replaced with "snapshot" it other places.

Compatibility with the old names can be retained by creating symbolic
links at install time. A new Makefile target is added for this purpose.

5 years agoendurance_report.py: show total transferred kilobytes in separate column in networkin...
Tommi Rantala [Mon, 11 Jun 2012 10:31:55 +0000 (13:31 +0300)]
endurance_report.py: show total transferred kilobytes in separate column in networking table

Add a second column for each networking interface that shows the total
number of kilobytes transferred. This is especially useful in cases when
the statistics for some interface is reset between rounds, and the per
round difference is bogus.

5 years agosave-incremental-endurance-stats: fix compression format in usage output
Tommi Rantala [Thu, 31 May 2012 17:27:23 +0000 (20:27 +0300)]
save-incremental-endurance-stats: fix compression format in usage output

We have been using lzop for a long time, not gzip.

5 years agoCollect and graph /proc/pid/sched
Tommi Rantala [Thu, 31 May 2012 17:23:14 +0000 (20:23 +0300)]
Collect and graph /proc/pid/sched

5 years agoAdd top-level `make test' target
Tommi Rantala [Mon, 28 May 2012 09:17:42 +0000 (12:17 +0300)]
Add top-level `make test' target

5 years agopostproc-lib: add unit test for 'histogram' plot type
Tommi Rantala [Mon, 28 May 2012 08:55:04 +0000 (11:55 +0300)]
postproc-lib: add unit test for 'histogram' plot type

5 years agoendurance_plot: write graph data and metadata in JSON format
Tommi Rantala [Mon, 28 May 2012 08:51:21 +0000 (11:51 +0300)]
endurance_plot: write graph data and metadata in JSON format

In addition to the HTML output file, write graph data and metadata in
the JSON format to output file `index.json'.

5 years agoendurance-multiplot: add `--no-process' and `--no-process-regex' switches
Tommi Rantala [Thu, 24 May 2012 09:44:07 +0000 (12:44 +0300)]
endurance-multiplot: add `--no-process' and `--no-process-regex' switches

5 years agopostproc-lib: cache process2pid() results in SP::Endurance::MultiGraphGenerators
Tommi Rantala [Thu, 24 May 2012 09:30:27 +0000 (12:30 +0300)]
postproc-lib: cache process2pid() results in SP::Endurance::MultiGraphGenerators

Quick testing with NYTProf shows that process2cmd() is a serious
bottleneck, so trade off some memory for better CPU performance.

5 years agoendurance-multiplot: parse only required subset of endurance data
Tommi Rantala [Thu, 24 May 2012 09:28:46 +0000 (12:28 +0300)]
endurance-multiplot: parse only required subset of endurance data

Parse only the required subset of the full endurance data in
endurance-multiplot to improve performance, and to reduce memory usage.

5 years agopostproc-lib: also export `copen' from SP::Endurance::Parser
Tommi Rantala [Thu, 24 May 2012 09:22:12 +0000 (12:22 +0300)]
postproc-lib: also export `copen' from SP::Endurance::Parser

5 years agopostproc-lib: move sp-endurance process filtering to parsing phase
Tommi Rantala [Thu, 24 May 2012 09:16:51 +0000 (12:16 +0300)]
postproc-lib: move sp-endurance process filtering to parsing phase

Filter out the uninteresting sp-endurance already from the parsed data
structures, instead of repeatedly checking a list of PIDs against the
blacklist. This slightly improves performance.

5 years agopostproc-lib: also parse Name from /proc/pid/status data
Tommi Rantala [Thu, 24 May 2012 08:06:59 +0000 (11:06 +0300)]
postproc-lib: also parse Name from /proc/pid/status data

The Name entry from /proc/pid/status data will be used when filtering
out the processes involved in snapshotting.

5 years agopostproc-lib: add process graphics graphs in SP::Endurance::MultiGraphGenerators
Tommi Rantala [Wed, 23 May 2012 12:31:28 +0000 (15:31 +0300)]
postproc-lib: add process graphics graphs in SP::Endurance::MultiGraphGenerators

5 years agopostproc-lib: add process I/O graphs in SP::Endurance::MultiGraphGenerators
Tommi Rantala [Wed, 23 May 2012 12:30:30 +0000 (15:30 +0300)]
postproc-lib: add process I/O graphs in SP::Endurance::MultiGraphGenerators

5 years agopostproc-lib: add thread count per process graph in SP::Endurance::MultiGraphGenerators
Tommi Rantala [Wed, 23 May 2012 09:13:07 +0000 (12:13 +0300)]
postproc-lib: add thread count per process graph in SP::Endurance::MultiGraphGenerators

5 years agopostproc-lib: prune some undefined values in SP::Endurance::MultiGraphGenerators
Tommi Rantala [Wed, 23 May 2012 09:09:03 +0000 (12:09 +0300)]
postproc-lib: prune some undefined values in SP::Endurance::MultiGraphGenerators

Return the empty list instead of the undefined value from the 'map'
block. This way the undefined values will not be passed to minmax(), and
we will get the actual minimum values for the graphs.

5 years agopostproc-lib: avoid minmax anonymous array construct
Tommi Rantala [Wed, 23 May 2012 08:59:29 +0000 (11:59 +0300)]
postproc-lib: avoid minmax anonymous array construct

This construct gave unexpected results at least in one case, so take the
min & max values explicitly in new variables, and then proceed to store
the values in anonymous array.

5 years agoendurance-multiplot: add process summary graphs
Tommi Rantala [Tue, 22 May 2012 13:20:42 +0000 (16:20 +0300)]
endurance-multiplot: add process summary graphs

Add initial support for process summary graphs.

5 years agopostproc-lib: only hide titles from error bar graphs when none given
Tommi Rantala [Tue, 22 May 2012 13:18:08 +0000 (16:18 +0300)]
postproc-lib: only hide titles from error bar graphs when none given

5 years agopostproc-lib: fix error bar graphs yhigh value
Tommi Rantala [Tue, 22 May 2012 13:15:36 +0000 (16:15 +0300)]
postproc-lib: fix error bar graphs yhigh value

Looks like gnuplot does not tolerate missing data entries for the
'yerrorbars' plots, so always print zero values in case of undefined
values. This fixes some bogusness in the error bar graphs.

5 years agoendurance-multiplot: allow usecase argument reading from file
Tommi Rantala [Tue, 22 May 2012 08:58:38 +0000 (11:58 +0300)]
endurance-multiplot: allow usecase argument reading from file

The list of usecase directories is potentially very large, and may be
larger than the space allowed for command line arguments. Allow the list
to be fed to the utility from a file to avoid this problem.

5 years agoendurance-multiplot: fork gnuplot worker before parsing data
Tommi Rantala [Tue, 22 May 2012 08:52:29 +0000 (11:52 +0300)]
endurance-multiplot: fork gnuplot worker before parsing data

5 years agopostproc-lib: always use ExtUtils::MakeMaker::WriteMakefile() to fix build problems...
Tommi Rantala [Mon, 21 May 2012 06:20:50 +0000 (09:20 +0300)]
postproc-lib: always use ExtUtils::MakeMaker::WriteMakefile() to fix build problems with debian Inline-0.46

5 years agopostproc-lib: allow use of SP::Endurance::Parser without Inline installed
Tommi Rantala [Mon, 21 May 2012 06:12:20 +0000 (09:12 +0300)]
postproc-lib: allow use of SP::Endurance::Parser without Inline installed

5 years agopostproc-lib: handle missing '#Name' identically in parse_smaps() and parse_smaps_pp()
Tommi Rantala [Mon, 21 May 2012 06:10:32 +0000 (09:10 +0300)]
postproc-lib: handle missing '#Name' identically in parse_smaps() and parse_smaps_pp()

5 years agopostproc-lib: unit test parse_smaps_pp() along with parse_smaps()
Tommi Rantala [Mon, 21 May 2012 06:08:07 +0000 (09:08 +0300)]
postproc-lib: unit test parse_smaps_pp() along with parse_smaps()

parse_smaps_pp() is a "pure perl" implementation of the /proc/pid/smaps
parser, and it should in all cases return exactly same results as the C
version.

5 years agoMakefile: remove more cruft in 'clean' target
Tommi Rantala [Wed, 16 May 2012 14:17:39 +0000 (17:17 +0300)]
Makefile: remove more cruft in 'clean' target

5 years agoendurance-multiplot: experimental post processing utility for graphing over usecases
Tommi Rantala [Wed, 16 May 2012 14:11:13 +0000 (17:11 +0300)]
endurance-multiplot: experimental post processing utility for graphing over usecases

The input to endurance_plot is one usecase, and the input to this new
experimental post processing utility is a series of usecases.

5 years agopostproc-lib: mangle non-word characters in 'key' in SP::Endurance::Plot
Tommi Rantala [Wed, 16 May 2012 14:09:11 +0000 (17:09 +0300)]
postproc-lib: mangle non-word characters in 'key' in SP::Endurance::Plot

5 years agoendurance_plot: no arguments for THUMB_WIDTH(), THUMB_HEIGHT() and HTML_NAME()
Tommi Rantala [Wed, 16 May 2012 12:23:32 +0000 (15:23 +0300)]
endurance_plot: no arguments for THUMB_WIDTH(), THUMB_HEIGHT() and HTML_NAME()

5 years agopostproc-lib: move the gnuplot worker function to new module SP::Endurance::GnuplotWorker
Tommi Rantala [Wed, 16 May 2012 12:21:40 +0000 (15:21 +0300)]
postproc-lib: move the gnuplot worker function to new module SP::Endurance::GnuplotWorker

5 years agopostproc-lib: do not import unused FD_* symbols in SP::Endurance::GraphGenerators
Tommi Rantala [Wed, 16 May 2012 11:09:20 +0000 (14:09 +0300)]
postproc-lib: do not import unused FD_* symbols in SP::Endurance::GraphGenerators

5 years agopostproc-lib: new graph type 'yerrorbars'
Tommi Rantala [Wed, 16 May 2012 10:56:44 +0000 (13:56 +0300)]
postproc-lib: new graph type 'yerrorbars'

5 years agopostproc-lib: expand kb2mb() and nonzero() to handle array-of-arrays input
Tommi Rantala [Wed, 16 May 2012 09:35:19 +0000 (12:35 +0300)]
postproc-lib: expand kb2mb() and nonzero() to handle array-of-arrays input

The array-of-arrays input will be used by the upcoming "errorbars"
graphs.

5 years agopostproc-lib: add unit tests for nonzero()
Tommi Rantala [Wed, 16 May 2012 09:24:04 +0000 (12:24 +0300)]
postproc-lib: add unit tests for nonzero()

5 years agopostproc-lib: move fdtypemap to SP::Endurance::Parser
Tommi Rantala [Tue, 15 May 2012 10:50:08 +0000 (13:50 +0300)]
postproc-lib: move fdtypemap to SP::Endurance::Parser

5 years agosyslog_parse.py: only strip newline characters from configuration patterns
Tommi Rantala [Fri, 11 May 2012 13:32:49 +0000 (16:32 +0300)]
syslog_parse.py: only strip newline characters from configuration patterns

5 years agosyslog_parse.py: improve performance by avoiding regex matching
Piotr Sokołowski [Fri, 11 May 2012 13:13:39 +0000 (16:13 +0300)]
syslog_parse.py: improve performance by avoiding regex matching

Improve syslog parsing performance by avoiding regex matching. This is
achieved by checking all the patterns for plain string prefixes, that
can be matched faster than the regexes. This can also improve the
endurance report generation time in some cases.

Before this patch:
  $ time endurance_report.py > endurance-report.html ???
  real 0m53.608s
  user 0m54.111s
  sys 0m1.276s

With this patch applied:
  $ time endurance_report.py > endurance-report.html ???
  real 0m26.400s
  user 0m27.006s
  sys 0m1.084s

5 years agopostproc-lib: add histogram for /proc/pid/io `cancelled_write_bytes' data
Tommi Rantala [Fri, 11 May 2012 11:06:16 +0000 (14:06 +0300)]
postproc-lib: add histogram for /proc/pid/io `cancelled_write_bytes' data

5 years agopostproc-lib: cleanup /proc/pid/io graph generation
Tommi Rantala [Fri, 11 May 2012 11:04:11 +0000 (14:04 +0300)]
postproc-lib: cleanup /proc/pid/io graph generation

Change the in-memory storage of the /proc/pid/io data from hash to
packed string of doubles. Also cleanup the graph generation code.

5 years agorecompress-endurance-measurements: also recompress lzop compressed upstart service...
Tommi Rantala [Fri, 11 May 2012 07:10:19 +0000 (10:10 +0300)]
recompress-endurance-measurements: also recompress lzop compressed upstart service logs

5 years agosave-incremental-endurance-stats: collect Upstart service logs from /var/log/upstart/
Tommi Rantala [Fri, 11 May 2012 07:05:48 +0000 (10:05 +0300)]
save-incremental-endurance-stats: collect Upstart service logs from /var/log/upstart/

Collect Upstart v1.4+ service logs from /var/log/upstart/.

5 years agorecompress-endurance-measurements: add '-j' flag for controlling level of parallellism
Tommi Rantala [Fri, 11 May 2012 06:55:41 +0000 (09:55 +0300)]
recompress-endurance-measurements: add '-j' flag for controlling level of parallellism

The parallel recompression mode is now fully optional, and must be
enabled from the command line if wanted.

5 years agorecompress-endurance-measurements: style changes
Tommi Rantala [Fri, 11 May 2012 06:54:29 +0000 (09:54 +0300)]
recompress-endurance-measurements: style changes

5 years agopostproc-lib: new graph: Jobs respawned by Upstart
Tommi Rantala [Fri, 11 May 2012 06:48:15 +0000 (09:48 +0300)]
postproc-lib: new graph: Jobs respawned by Upstart

5 years agoendurance_report.py: add compressed smaps.cap file links
Tommi Rantala [Thu, 10 May 2012 11:27:00 +0000 (14:27 +0300)]
endurance_report.py: add compressed smaps.cap file links

Add support for linking to compressed smaps.cap files.

5 years agopostproc-lib: add private dirty histogram
Tommi Rantala [Thu, 10 May 2012 10:59:34 +0000 (13:59 +0300)]
postproc-lib: add private dirty histogram

5 years agopostproc-lib: remove unused SP::Endurance::Plot::unshift()
Tommi Rantala [Thu, 10 May 2012 07:10:04 +0000 (10:10 +0300)]
postproc-lib: remove unused SP::Endurance::Plot::unshift()

5 years agopostproc-lib: add SP::Endurance::Plot 'exclude_nonchanged' flag
Tommi Rantala [Thu, 10 May 2012 07:07:46 +0000 (10:07 +0300)]
postproc-lib: add SP::Endurance::Plot 'exclude_nonchanged' flag

The 'exclude_nonchanged' flag can be used to automatically filter all
data through has_changed() that is pushed to the plot.

5 years agosave-incremental-endurance-stats: remove trailing whitespace
Tommi Rantala [Thu, 10 May 2012 06:37:48 +0000 (09:37 +0300)]
save-incremental-endurance-stats: remove trailing whitespace

5 years agosave-incremental-endurance-stats: avoid creating empty files and directories
Tommi Rantala [Thu, 10 May 2012 06:36:28 +0000 (09:36 +0300)]
save-incremental-endurance-stats: avoid creating empty files and directories

5 years agopost processing modularization
Tommi Rantala [Mon, 16 Apr 2012 12:56:28 +0000 (15:56 +0300)]
post processing modularization

Split the original script into several smaller Perl modules, that are
easier to understand and to test. The perl modules may also be used
outside of sp-endurance, but we do not provide any API stability
guarantees.

The parsing code is greatly simplified, and the parsing step now simply
parses data to memory, which is then consumed by the various functions
that create the graphs. Note that in order to save memory, the parser
module only stores in memory the data that we will use.

There is now an option for improving the parsing performance that is
automatically enabled if the Perl "Inline" module from CPAN is
available. The '/proc/pid/smaps' parsing has been implemented in C,
allowing for improved performance.

As a side effect of all these changes, the endurance_plot script had to
be almost completely rewritten.

5 years agoendurance_report.py: catch IOError exceptions when opening usage.csv and smaps.cap...
Tommi Rantala [Thu, 3 May 2012 07:24:01 +0000 (10:24 +0300)]
endurance_report.py: catch IOError exceptions when opening usage.csv and smaps.cap files

5 years agoendurance_report.py: fix deprecated access to exception message attribute
Tommi Rantala [Thu, 3 May 2012 07:22:14 +0000 (10:22 +0300)]
endurance_report.py: fix deprecated access to exception message attribute

The 'message' attribute has been deprecated, just use the exception as a
string.

http://www.python.org/dev/peps/pep-0352/#retracted-ideas

5 years agoendurance_report.py: add exception message to error string on usage.csv open failure
Tommi Rantala [Thu, 3 May 2012 07:21:26 +0000 (10:21 +0300)]
endurance_report.py: add exception message to error string on usage.csv open failure

5 years agoendurance_report.py: catch IOError exceptions when parsing optional files
Tommi Rantala [Thu, 3 May 2012 07:18:22 +0000 (10:18 +0300)]
endurance_report.py: catch IOError exceptions when parsing optional files

5 years agoendurance_report.py: check exceptions when reading step.txt
Tommi Rantala [Thu, 3 May 2012 07:16:49 +0000 (10:16 +0300)]
endurance_report.py: check exceptions when reading step.txt

5 years agoendurance_report.py: fix exception with missing /proc/pid/io data
Tommi Rantala [Thu, 3 May 2012 07:15:01 +0000 (10:15 +0300)]
endurance_report.py: fix exception with missing /proc/pid/io data

5 years agoendurance_report.py: change all '123kB' to '123 kB' for easier number selection
Tommi Rantala [Thu, 3 May 2012 06:41:14 +0000 (09:41 +0300)]
endurance_report.py: change all '123kB' to '123 kB' for easier number selection

Allow the kilobyte numbers to be more easily selected in web browsers by
adding whitespace between the number and the kB suffix.

5 years agoendurance_plot: register graph generation functions on startup
Tommi Rantala [Tue, 17 Apr 2012 12:54:52 +0000 (15:54 +0300)]
endurance_plot: register graph generation functions on startup

5 years agoendurance_plot: remove unused function 'start_plotfile_histogram_multi'
Tommi Rantala [Tue, 17 Apr 2012 12:35:22 +0000 (15:35 +0300)]
endurance_plot: remove unused function 'start_plotfile_histogram_multi'

5 years agoendurance_plot: remove powertop graphing support
Tommi Rantala [Tue, 17 Apr 2012 12:30:33 +0000 (15:30 +0300)]
endurance_plot: remove powertop graphing support

Work is underway to cleanup the endurance_plot parsing and graph
generation code. Drop the optional powertop parsing and graphing code
for now, as it is rarely used, and has received very little testing.

5 years agoextract-endurance-process-smaps: fix filename quotation bugs
Tommi Rantala [Mon, 16 Apr 2012 05:50:27 +0000 (08:50 +0300)]
extract-endurance-process-smaps: fix filename quotation bugs

To allow for whitespace in the filenames, we must quote them properly
when passing to shell.

5 years agosyslog_parse.py: shell quite filenames properly in open_compressed()
Tommi Rantala [Mon, 16 Apr 2012 05:46:31 +0000 (08:46 +0300)]
syslog_parse.py: shell quite filenames properly in open_compressed()

To allow for whitespace in the filenames, we must quote them properly
when passing to shell.

5 years agoendurance_plot: quote filenames properly for shell invocations
Tommi Rantala [Fri, 13 Apr 2012 13:02:58 +0000 (16:02 +0300)]
endurance_plot: quote filenames properly for shell invocations

This fixes `step.txt' and compressed `smaps.cap' read failures when
input directory names contain whitespace characters.

5 years agorecompress-endurance-measurements: quote filenames properly for shell invocations
Tommi Rantala [Fri, 13 Apr 2012 12:56:03 +0000 (15:56 +0300)]
recompress-endurance-measurements: quote filenames properly for shell invocations

This fixes recompression when input directory names contain whitespace
characters.

5 years agoendurance_plot: add /proc/pid/io based histogram plots
Tommi Rantala [Wed, 11 Apr 2012 13:13:05 +0000 (16:13 +0300)]
endurance_plot: add /proc/pid/io based histogram plots

5 years agoendurance_plot: allow zeropad removal for linegraphs
Tommi Rantala [Wed, 11 Apr 2012 13:03:55 +0000 (16:03 +0300)]
endurance_plot: allow zeropad removal for linegraphs

We generate both linegraphs and histograms based on some of the data we
parse. For the histograms, leading zeroes are required for all entries
to get correct gnuplot results, but for the linegraphs we often do not
want the leading zeroes. Extend the emitting logic to allow for the zero
padding to be removed for the benefit of linegraphs.

5 years agoendurance_plot: remove zero entries from diskstat graphs
Tommi Rantala [Wed, 11 Apr 2012 13:01:09 +0000 (16:01 +0300)]
endurance_plot: remove zero entries from diskstat graphs

5 years agoendurance_plot: change the per process disk read and write graphs from kB to MB units
Tommi Rantala [Wed, 11 Apr 2012 13:00:15 +0000 (16:00 +0300)]
endurance_plot: change the per process disk read and write graphs from kB to MB units

5 years agoendurance_plot: remove zero entries from 'ext4 writes' graph
Tommi Rantala [Wed, 11 Apr 2012 12:58:19 +0000 (15:58 +0300)]
endurance_plot: remove zero entries from 'ext4 writes' graph

5 years agoendurance_plot: cleanup pagetypeinfo parsing
Tommi Rantala [Tue, 10 Apr 2012 11:37:02 +0000 (14:37 +0300)]
endurance_plot: cleanup pagetypeinfo parsing

Do not hardcode the possible page type names, but take them from the
input data.

5 years agoendurance_report.py: tolerate empty ifconfig file
Tommi Rantala [Fri, 30 Mar 2012 08:51:04 +0000 (11:51 +0300)]
endurance_report.py: tolerate empty ifconfig file

5 years agoendurance_plot: per process I/O graphs
Tommi Rantala [Fri, 30 Mar 2012 08:34:28 +0000 (11:34 +0300)]
endurance_plot: per process I/O graphs

Create read & write I/O graphs based on the /proc/pid/io data that we
collect.

5 years agoendurance_plot: also fill `name_by_pid' from usage.csv
Tommi Rantala [Fri, 30 Mar 2012 08:31:17 +0000 (11:31 +0300)]
endurance_plot: also fill `name_by_pid' from usage.csv

The `name_by_pid' hash is populated from the smaps data, but sometimes
we may have some short living processes that are present in the
usage.csv file, but not in the smaps data. In these cases it is useful
to take the process names from the usage.csv file in addition to the
smaps data.

5 years agoendurance_plot: add missing title for global FD usage
Tommi Rantala [Fri, 30 Mar 2012 08:30:28 +0000 (11:30 +0300)]
endurance_plot: add missing title for global FD usage

5 years agoMakefile: split install target to subtargets
Tommi Rantala [Tue, 28 Feb 2012 08:09:25 +0000 (10:09 +0200)]
Makefile: split install target to subtargets

5 years agoMakefile: 'all' and 'clean' are phony targets
Tommi Rantala [Tue, 28 Feb 2012 08:05:10 +0000 (10:05 +0200)]
Makefile: 'all' and 'clean' are phony targets

5 years agoendurance_plot: remove version string mangling
Tommi Rantala [Thu, 29 Mar 2012 13:00:35 +0000 (16:00 +0300)]
endurance_plot: remove version string mangling

5 years agoendurance_plot: quote metacharacters when building regexp from input data
Tommi Rantala [Thu, 29 Mar 2012 12:58:20 +0000 (15:58 +0300)]
endurance_plot: quote metacharacters when building regexp from input data

We are passing input data to regular expression, so quote any
metacharacters with \Q and \E to avoid problems.

5 years agoendurance_plot: add swap to private dirty graphs
Tommi Rantala [Mon, 27 Feb 2012 12:00:50 +0000 (14:00 +0200)]
endurance_plot: add swap to private dirty graphs

Change the 'private dirty' graphs to 'private dirty+swap' graphs.

5 years agoupdate changelog v3.0.4
Eero Tamminen [Fri, 23 Mar 2012 14:54:00 +0000 (16:54 +0200)]
update changelog

5 years agoparse IO statistics for endurance report
Eero Tamminen [Fri, 23 Mar 2012 14:24:44 +0000 (16:24 +0200)]
parse IO statistics for endurance report
(IO stats are already collected by proc2csv if they're available)

5 years agopvr -> gfx renaming to make the variable name more generic
Eero Tamminen [Fri, 23 Mar 2012 12:51:12 +0000 (14:51 +0200)]
pvr -> gfx renaming to make the variable name more generic

5 years agoadd -g to get debug syms
Eero Tamminen [Thu, 15 Mar 2012 08:30:18 +0000 (10:30 +0200)]
add -g to get debug syms

5 years agosp-endurance v3.0.3 v3.0.3
Tommi Rantala [Mon, 27 Feb 2012 07:44:12 +0000 (09:44 +0200)]
sp-endurance v3.0.3

5 years agoRemove debian directory in preparation of separate packaging branch
Tommi Rantala [Mon, 27 Feb 2012 07:32:42 +0000 (09:32 +0200)]
Remove debian directory in preparation of separate packaging branch

5 years agouse more standard mktemp instead of tempfile and check that it exists
Eero Tamminen [Wed, 22 Feb 2012 15:35:18 +0000 (17:35 +0200)]
use more standard mktemp instead of tempfile and check that it exists

5 years agoendurance_plot: rework vmsize graph
Tommi Rantala [Wed, 15 Feb 2012 12:27:46 +0000 (14:27 +0200)]
endurance_plot: rework vmsize graph

Create up to 3 separate vmsize graphs for improved readability.