deliverable/lttng-analyses.git
7 years agoFix: update tests for --no-intersection intersection-mode
Antoine Busque [Thu, 5 May 2016 21:16:35 +0000 (17:16 -0400)] 
Fix: update tests for --no-intersection

Signed-off-by: Antoine Busque <abusque@efficios.com>
7 years agoMerge branch 'staging'
Antoine Busque [Fri, 29 Apr 2016 20:31:47 +0000 (16:31 -0400)] 
Merge branch 'staging'

7 years agoMerge pull request #47 from abusque/stream-intersect
Julien Desfossez [Fri, 29 Apr 2016 20:26:55 +0000 (16:26 -0400)] 
Merge pull request #47 from abusque/stream-intersect

Stream intersect

7 years agoGenerate trace for intersect mode test
Julien Desfossez [Fri, 22 Apr 2016 21:35:19 +0000 (17:35 -0400)] 
Generate trace for intersect mode test

This is a basic trace generated to test the intersect mode. The first
three events are in the same stream, the last one is in a different
stream with no overlapping. This trace parsed with babeltrace outputs 4
events by default and 0 with babeltrace --stream-intersection.

Please adapt the test to work with the --disable-intersect-mode.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
7 years agoAdd support for stream intersect mode
Antoine Busque [Thu, 21 Apr 2016 19:02:59 +0000 (15:02 -0400)] 
Add support for stream intersect mode

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoMerge pull request #48 from eepp/mi-sched-cpu-as-cpu
Antoine Busque [Thu, 28 Apr 2016 01:57:00 +0000 (21:57 -0400)] 
Merge pull request #48 from eepp/mi-sched-cpu-as-cpu

Fix: cli/sched: use mi.Cpu class for CPU IDs

8 years agoFix: cli/sched: use mi.Cpu class for CPU IDs
Philippe Proulx [Wed, 27 Apr 2016 23:42:51 +0000 (19:42 -0400)] 
Fix: cli/sched: use mi.Cpu class for CPU IDs

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agoUse --no-color in integration tests
Antoine Busque [Wed, 27 Apr 2016 19:10:33 +0000 (15:10 -0400)] 
Use --no-color in integration tests

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoAdd --no-color argument
Antoine Busque [Wed, 27 Apr 2016 19:10:15 +0000 (15:10 -0400)] 
Add --no-color argument

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoAdd debug mode to allow printing traceback
Antoine Busque [Wed, 27 Apr 2016 14:59:20 +0000 (10:59 -0400)] 
Add debug mode to allow printing traceback

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoRemove unused time_utils import
Antoine Busque [Wed, 27 Apr 2016 14:26:29 +0000 (10:26 -0400)] 
Remove unused time_utils import

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoRemove unused parameter from _error
Antoine Busque [Tue, 26 Apr 2016 23:42:11 +0000 (19:42 -0400)] 
Remove unused parameter from _error

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoSet analysis version using version_utils string parser
Antoine Busque [Tue, 26 Apr 2016 22:45:00 +0000 (18:45 -0400)] 
Set analysis version using version_utils string parser

Fixes: #42
Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoAdd factory method to create Version from version string
Antoine Busque [Tue, 26 Apr 2016 22:43:36 +0000 (18:43 -0400)] 
Add factory method to create Version from version string

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: check whether analysis has ended before setting last timestamp
Antoine Busque [Tue, 26 Apr 2016 20:30:40 +0000 (16:30 -0400)] 
Fix: check whether analysis has ended before setting last timestamp

Fixes: #45
8 years agoFix: use begin/end values from _analysis_conf for IO filtering
Antoine Busque [Tue, 26 Apr 2016 19:42:40 +0000 (15:42 -0400)] 
Fix: use begin/end values from _analysis_conf for IO filtering

The values in `_args` previously used were the raw string values from
the command line, whereas those in `_analysis_conf` are parsed into
integers.

Fixes: #44
8 years agoFix: only skip analysis if in MI mode with --test-compatibility
Antoine Busque [Tue, 26 Apr 2016 19:34:00 +0000 (15:34 -0400)] 
Fix: only skip analysis if in MI mode with --test-compatibility

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agocli: add "catch all" for exceptions to sanitize output
Philippe Proulx [Sat, 23 Apr 2016 01:06:14 +0000 (21:06 -0400)] 
cli: add "catch all" for exceptions to sanitize output

This prevents the user from seeing Python tracebacks, and in MI
mode, it makes sure that only the error object is printed if there is
an error, wherever this error happens.

Eventually, log statements should be added at strategic locations to
optionally provide more information about a failure to the user (and
to bug reports).

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agocli: add --test-compatibility option to check the trace only
Philippe Proulx [Sat, 23 Apr 2016 00:59:02 +0000 (20:59 -0400)] 
cli: add --test-compatibility option to check the trace only

This is a "dry-run" option to check if the trace could be analyzed,
without actually analyzing it.

This option is specified by LAMI 1.0.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agocli: add --mi-version to print produced MI version
Philippe Proulx [Sat, 23 Apr 2016 00:50:22 +0000 (20:50 -0400)] 
cli: add --mi-version to print produced MI version

The MI version can be printed as a simple plain text string
with this option to allow an eventual major bump of the protocol
changing the format from JSON to something else.

This option is specified by LAMI 1.0.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agoRemove doc/lami-v0.1.md, move to separate repo
Philippe Proulx [Sat, 23 Apr 2016 00:18:34 +0000 (20:18 -0400)] 
Remove doc/lami-v0.1.md, move to separate repo

Having the LAMI spec in a separate repository allows to
version it using Git, with separate Git tags, etc.

The new repository is located at https://github.com/lttng/lami-spec

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agofix: softirq entry with raise
Julien Desfossez [Fri, 22 Apr 2016 21:41:11 +0000 (17:41 -0400)] 
fix: softirq entry with raise

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoMerge pull request #43 from eepp/update-mi
Antoine Busque [Thu, 21 Apr 2016 16:32:45 +0000 (12:32 -0400)] 
Merge pull request #43 from eepp/update-mi

Update MI

8 years agocli: refactor progress indication
Philippe Proulx [Fri, 15 Apr 2016 15:14:43 +0000 (11:14 -0400)] 
cli: refactor progress indication

This patch:

  * Increases the encapsulation of the different progress
    indicators: the progress code does not access its
    owner's attributes anymore
  * Makes the progress update at most every 100 ms
  * Makes the progress indication use the current timestamp
    and the trace collection's begin/end timestamps to
    approximate its position; falls back on approximating
    with the size if those timestamps are not available
  * Adds the general --progress-use-size CLI option to
    reverse to the old default behaviour of approximating
    with the size

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agocli/mi: "float" -> "number"
Philippe Proulx [Fri, 15 Apr 2016 14:26:05 +0000 (10:26 -0400)] 
cli/mi: "float" -> "number"

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agocli: add optional progress lines to MI mode
Philippe Proulx [Fri, 8 Apr 2016 00:11:43 +0000 (20:11 -0400)] 
cli: add optional progress lines to MI mode

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agocli: output JSON error object in MI mode
Philippe Proulx [Thu, 7 Apr 2016 23:25:40 +0000 (19:25 -0400)] 
cli: output JSON error object in MI mode

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agocli/mi: add "mi-version" (latest supported LAMI version)
Philippe Proulx [Thu, 7 Apr 2016 23:14:34 +0000 (19:14 -0400)] 
cli/mi: add "mi-version" (latest supported LAMI version)

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agodoc: move mi.md -> lami-v0.1.md
Philippe Proulx [Thu, 7 Apr 2016 22:05:06 +0000 (18:05 -0400)] 
doc: move mi.md -> lami-v0.1.md

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agodoc/mi.md: update document
Philippe Proulx [Thu, 7 Apr 2016 21:59:53 +0000 (17:59 -0400)] 
doc/mi.md: update document

Major differences:

  * The document has a version
  * New Definitions section
  * Clarify the roles of the analysis and the consumer
  * Describe input format arguments more formally
  * Specify the exit status of the analysis as part of
    the output format
  * Add progress indication (with --output-progress
    argument) feature
  * New Common objects section
  * New Error object section: an error object can be
    written by the analysis during both the metadata
    and analysis phases
  * Add mandatory `class` property in the properties
    table of the individual data object sections
  * Style fixes

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agoMerge pull request #41 from lttng/jgalar-typo-children
Antoine Busque [Thu, 31 Mar 2016 19:26:43 +0000 (15:26 -0400)] 
Merge pull request #41 from lttng/jgalar-typo-children

Typo fix: plural of child is children

8 years agoTypo fix: plural of child is children
Jérémie Galarneau [Thu, 31 Mar 2016 19:05:33 +0000 (15:05 -0400)] 
Typo fix: plural of child is children

8 years agoMerge pull request #40 from lttng/staging
Julien Desfossez [Wed, 30 Mar 2016 18:35:25 +0000 (14:35 -0400)] 
Merge pull request #40 from lttng/staging

Refactor common utilities and introduce unit testing

8 years agofix: enable kmem events for lttng-memtop by default
Julien Desfossez [Tue, 29 Mar 2016 20:08:11 +0000 (16:08 -0400)] 
fix: enable kmem events for lttng-memtop by default

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoTests: add unit tests for common/parse_utils.py
Antoine Busque [Mon, 14 Mar 2016 19:45:08 +0000 (15:45 -0400)] 
Tests: add unit tests for common/parse_utils.py

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: return an integer as timestamp from parse_trace_collection_date
Antoine Busque [Mon, 14 Mar 2016 19:44:34 +0000 (15:44 -0400)] 
Fix: return an integer as timestamp from parse_trace_collection_date

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: set microseconds to 0 when parsing timestamp
Antoine Busque [Mon, 14 Mar 2016 19:43:54 +0000 (15:43 -0400)] 
Fix: set microseconds to 0 when parsing timestamp

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoRe-use _split_value_units in parse_duration
Antoine Busque [Mon, 14 Mar 2016 19:43:13 +0000 (15:43 -0400)] 
Re-use _split_value_units in parse_duration

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoReplace superfluous math.pow uses by ** operator
Antoine Busque [Mon, 14 Mar 2016 19:42:30 +0000 (15:42 -0400)] 
Replace superfluous math.pow uses by ** operator

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix erroneous comments in parse_utils
Antoine Busque [Mon, 14 Mar 2016 19:41:33 +0000 (15:41 -0400)] 
Fix erroneous comments in parse_utils

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoTests: add unit tests for common/trace_utils.py
Antoine Busque [Fri, 11 Mar 2016 15:23:15 +0000 (10:23 -0500)] 
Tests: add unit tests for common/trace_utils.py

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoTests: add unit tests for common/format_utils.py
Antoine Busque [Thu, 10 Mar 2016 23:13:22 +0000 (18:13 -0500)] 
Tests: add unit tests for common/format_utils.py

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoMove integration tests into their own subdir
Antoine Busque [Thu, 10 Mar 2016 22:59:36 +0000 (17:59 -0500)] 
Move integration tests into their own subdir

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoRefactor utils from linuxautomaton/common into the common package
Antoine Busque [Thu, 10 Mar 2016 19:24:14 +0000 (14:24 -0500)] 
Refactor utils from linuxautomaton/common into the common package

This refactor/clean-up targets the utility functions previously found
at linuxautomaton/common.py, despite them being used across all
packages. Unused methods have been culled, while others have been
merged, split, or simplified.

All methods are extensively documented. One of the main goals of this
refactor was to improve testability. Unit tests will therefore be
implemented for these methods shortly.

The methods have been pythonified quite a bit as well. Most now make
use of exceptions, in concordance with the python philosophy of EAFP
over LBYL.

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoStyle: fix minor pep8 style issues
Antoine Busque [Thu, 10 Mar 2016 18:07:16 +0000 (13:07 -0500)] 
Style: fix minor pep8 style issues

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoRemove unused StateVariable class
Antoine Busque [Mon, 29 Feb 2016 16:33:21 +0000 (11:33 -0500)] 
Remove unused StateVariable class

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agochangelog for v0.4.3
Julien Desfossez [Tue, 8 Mar 2016 00:03:22 +0000 (19:03 -0500)] 
changelog for v0.4.3

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoMerge pull request #39 from abusque/save-test-results
Julien Desfossez [Sat, 5 Mar 2016 01:01:38 +0000 (20:01 -0500)] 
Merge pull request #39 from abusque/save-test-results

Fix: keep the trace and output if a test fails

8 years agoTests: clean-up test utility functions
Antoine Busque [Fri, 4 Mar 2016 22:50:25 +0000 (17:50 -0500)] 
Tests: clean-up test utility functions

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: keep the trace and output if a test fails
Julien Desfossez [Fri, 4 Mar 2016 18:09:41 +0000 (13:09 -0500)] 
Fix: keep the trace and output if a test fails

Instead of always removing the traces and only outputting a diff, if the
test fails, we now keep the trace and the output we got, so it is easy
to reproduce afterwards or just copy the new output to the "expected"
folder if it is correct.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoFix: test lines too long
Julien Desfossez [Fri, 4 Mar 2016 18:09:17 +0000 (13:09 -0500)] 
Fix: test lines too long

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoFix: use GMT clock for tests
Julien Desfossez [Fri, 4 Mar 2016 18:05:05 +0000 (13:05 -0500)] 
Fix: use GMT clock for tests

Force the use of the GMT reference clock for our tests to run outside
the eastern time zone.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoMerge pull request #37 from abusque/license-copyright
Julien Desfossez [Wed, 2 Mar 2016 19:23:44 +0000 (14:23 -0500)] 
Merge pull request #37 from abusque/license-copyright

Add year and copyright holder to license file

8 years agoMerge pull request #36 from mjeanson/master
Antoine Busque [Wed, 2 Mar 2016 18:28:10 +0000 (13:28 -0500)] 
Merge pull request #36 from mjeanson/master

Add license and Changelog to sdist

8 years agoAdd year and copyright holder to license file
Antoine Busque [Wed, 2 Mar 2016 17:49:02 +0000 (12:49 -0500)] 
Add year and copyright holder to license file

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoAdd license and Changelog to sdist
Michael Jeanson [Wed, 2 Mar 2016 17:25:08 +0000 (12:25 -0500)] 
Add license and Changelog to sdist

8 years agochangelog for v0.4.2
Julien Desfossez [Tue, 1 Mar 2016 15:57:10 +0000 (10:57 -0500)] 
changelog for v0.4.2

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoMerge pull request #35 from mjeanson/master
Julien Desfossez [Mon, 29 Feb 2016 19:53:26 +0000 (14:53 -0500)] 
Merge pull request #35 from mjeanson/master

Fix: Add wrapper scripts to sdist for tests

8 years agoFix: Add wrapper scripts to sdist for tests
Michael Jeanson [Mon, 29 Feb 2016 19:48:57 +0000 (14:48 -0500)] 
Fix: Add wrapper scripts to sdist for tests

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 years agochangelog for v0.4
Julien Desfossez [Mon, 29 Feb 2016 18:57:54 +0000 (13:57 -0500)] 
changelog for v0.4

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoMerge pull request #34 from mjeanson/master
Julien Desfossez [Mon, 29 Feb 2016 17:31:12 +0000 (12:31 -0500)] 
Merge pull request #34 from mjeanson/master

Fix: Include tests dir in source dist

8 years agoFix: Include tests dir in source dist
Michael Jeanson [Mon, 29 Feb 2016 17:26:18 +0000 (12:26 -0500)] 
Fix: Include tests dir in source dist

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 years agoMerge pull request #33 from abusque/staging
Julien Desfossez [Fri, 26 Feb 2016 23:44:57 +0000 (18:44 -0500)] 
Merge pull request #33 from abusque/staging

Staging fixes

8 years agoExtract prio list formatting into format_utils
Antoine Busque [Fri, 26 Feb 2016 23:38:57 +0000 (18:38 -0500)] 
Extract prio list formatting into format_utils

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoSet SyscallEvent.ret to None if missing due to lttng bug
Antoine Busque [Fri, 26 Feb 2016 22:58:15 +0000 (17:58 -0500)] 
Set SyscallEvent.ret to None if missing due to lttng bug

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agofix test for new formatting
Julien Desfossez [Fri, 26 Feb 2016 18:22:43 +0000 (13:22 -0500)] 
fix test for new formatting

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoAdd spaces where columns are too close
Julien Desfossez [Fri, 26 Feb 2016 18:15:43 +0000 (13:15 -0500)] 
Add spaces where columns are too close

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoCompact priority list
Julien Desfossez [Fri, 26 Feb 2016 18:02:46 +0000 (13:02 -0500)] 
Compact priority list

Instead of displaying the full list of priorities a process had, only
display a summary (number of time a process had each priority).

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoWarn if ret field missing in syscall
Julien Desfossez [Fri, 26 Feb 2016 16:50:18 +0000 (11:50 -0500)] 
Warn if ret field missing in syscall

Detect and output a warning if a system call does not have a "ret"
field, it happened with development version of lttng-modules and it is
good to detect it instead of crashing or ignoring it silently.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoMerge pull request #31 from abusque/staging
Julien Desfossez [Fri, 26 Feb 2016 16:34:39 +0000 (11:34 -0500)] 
Merge pull request #31 from abusque/staging

v0.4 changeset

8 years agoFix: check for current_task_start_ts, not last_sched_ts, in cputop
Antoine Busque [Thu, 25 Feb 2016 01:11:01 +0000 (20:11 -0500)] 
Fix: check for current_task_start_ts, not last_sched_ts, in cputop

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: remove reference to deprecated ascii_graph module in setup.py
Antoine Busque [Wed, 24 Feb 2016 23:31:09 +0000 (18:31 -0500)] 
Fix: remove reference to deprecated ascii_graph module in setup.py

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: generic filename formatting
Antoine Busque [Wed, 24 Feb 2016 22:28:35 +0000 (17:28 -0500)] 
Fix: generic filename formatting

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: correctly fill per proc block I/O write data
Antoine Busque [Tue, 23 Feb 2016 01:25:58 +0000 (20:25 -0500)] 
Fix: correctly fill per proc block I/O write data

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: erroneous iadd operator for Stats.IO
Antoine Busque [Tue, 23 Feb 2016 01:03:23 +0000 (20:03 -0500)] 
Fix: erroneous iadd operator for Stats.IO

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: set proc name in I/O analysis if previously unknown
Antoine Busque [Sat, 20 Feb 2016 00:09:56 +0000 (19:09 -0500)] 
Fix: set proc name in I/O analysis if previously unknown

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: handle max values of 0 in termgraph
Antoine Busque [Fri, 19 Feb 2016 22:54:50 +0000 (17:54 -0500)] 
Fix: handle max values of 0 in termgraph

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoHandle multiple hard IRQ handler names
Antoine Busque [Tue, 16 Feb 2016 17:50:16 +0000 (12:50 -0500)] 
Handle multiple hard IRQ handler names

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: handle missing vec and empty softirq list on exit
Antoine Busque [Tue, 16 Feb 2016 16:17:35 +0000 (11:17 -0500)] 
Fix: handle missing vec and empty softirq list on exit

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agofix: double append in rq_list
Julien Desfossez [Mon, 25 Jan 2016 19:25:07 +0000 (14:25 -0500)] 
fix: double append in rq_list

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoRemove accept from net_open syscalls
Julien Desfossez [Mon, 25 Jan 2016 16:13:29 +0000 (11:13 -0500)] 
Remove accept from net_open syscalls

accept and accept4 block voluntarily, so computing latencies on these
system calls do not make much sense.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agofix: vec presence check
Julien Desfossez [Mon, 11 Jan 2016 16:33:05 +0000 (11:33 -0500)] 
fix: vec presence check

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoStyle: indentation issues
Julien Desfossez [Wed, 24 Feb 2016 23:07:38 +0000 (18:07 -0500)] 
Style: indentation issues

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoTests: refactor test framework to eliminate py.test
Antoine Busque [Fri, 19 Feb 2016 21:27:45 +0000 (16:27 -0500)] 
Tests: refactor test framework to eliminate py.test

This replaces the external py.test dependency with the standard
`unittest` package.

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoTests: clean-up and pythonify test framework
Antoine Busque [Tue, 16 Feb 2016 17:50:49 +0000 (12:50 -0500)] 
Tests: clean-up and pythonify test framework

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoTests: initial test framework implementation
Julien Desfossez [Wed, 24 Feb 2016 23:07:07 +0000 (18:07 -0500)] 
Tests: initial test framework implementation

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoTry to read the text metadata if babeltrace failed
Julien Desfossez [Mon, 22 Feb 2016 17:54:20 +0000 (12:54 -0500)] 
Try to read the text metadata if babeltrace failed

Reading a trace with babeltrace -o ctf-metadata fails if the metadata is
in text format instead of binary format. When we detect this error, try
to read the metadata with 'cat'.

Also, the traces generated with the CTFWriter API can only write strings
in the environment section for now, so we add optional quotes around the
version regex to allow extracting the version in these traces.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoRemove eventual trailing slash in trace path
Julien Desfossez [Mon, 22 Feb 2016 17:27:53 +0000 (12:27 -0500)] 
Remove eventual trailing slash in trace path

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoReplace Pyasciigraph by termgraph for freq graphs
Antoine Busque [Thu, 28 Jan 2016 22:16:57 +0000 (17:16 -0500)] 
Replace Pyasciigraph by termgraph for freq graphs

The only remaining uses of Pyasciigraph were limited to frequency
graphs, so this commit introduces a replacement under the termgraph
module to display such frequency graphs.

This effectively eliminates the Pyasciigraph dependency, which is now
removed from the source tree.

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoRemove obsolete convert_size function
Antoine Busque [Fri, 15 Jan 2016 21:54:33 +0000 (16:54 -0500)] 
Remove obsolete convert_size function

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: remove unused proc from io_rq filter
Antoine Busque [Fri, 15 Jan 2016 21:53:59 +0000 (16:53 -0500)] 
Fix: remove unused proc from io_rq filter

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoReplace Pyasciigraph by termgraph for bar graphs in io.py
Antoine Busque [Fri, 15 Jan 2016 21:53:10 +0000 (16:53 -0500)] 
Replace Pyasciigraph by termgraph for bar graphs in io.py

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoReplace Pyasciigraph by termgraph in memtop
Antoine Busque [Fri, 15 Jan 2016 21:47:28 +0000 (16:47 -0500)] 
Replace Pyasciigraph by termgraph in memtop

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoReplace Pyasciigraph by termgraph in cputop, display prios
Antoine Busque [Fri, 15 Jan 2016 21:47:00 +0000 (16:47 -0500)] 
Replace Pyasciigraph by termgraph in cputop, display prios

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoStyle: fix spacing issue
Antoine Busque [Fri, 15 Jan 2016 21:45:58 +0000 (16:45 -0500)] 
Style: fix spacing issue

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoInitial implementation of the termgraph module
Antoine Busque [Fri, 15 Jan 2016 21:45:21 +0000 (16:45 -0500)] 
Initial implementation of the termgraph module

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoAdd a format_utils module to the common package
Antoine Busque [Fri, 15 Jan 2016 21:44:34 +0000 (16:44 -0500)] 
Add a format_utils module to the common package

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoRemove temporary mitest files
Antoine Busque [Thu, 14 Jan 2016 19:08:20 +0000 (14:08 -0500)] 
Remove temporary mitest files

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoUse core/stats in cputop and sched, add prio_list support
Antoine Busque [Tue, 22 Dec 2015 03:54:06 +0000 (22:54 -0500)] 
Use core/stats in cputop and sched, add prio_list support

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoUse core/stats in memtop and syscalls analysis
Antoine Busque [Tue, 22 Dec 2015 03:53:25 +0000 (22:53 -0500)] 
Use core/stats in memtop and syscalls analysis

Signed-off-by: Antoine Busque <abusque@efficios.com>
This page took 0.0398 seconds and 5 git commands to generate.