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
Michael Jeanson [Wed, 2 Mar 2016 17:25:08 +0000 (12:25 -0500)]
Add license and Changelog to sdist
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>
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
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>
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>
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
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>
Julien Desfossez [Fri, 26 Feb 2016 23:44:57 +0000 (18:44 -0500)]
Merge pull request #33 from abusque/staging
Staging fixes
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>
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>
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>
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>
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>
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>
Julien Desfossez [Fri, 26 Feb 2016 16:34:39 +0000 (11:34 -0500)]
Merge pull request #31 from abusque/staging
v0.4 changeset
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Julien Desfossez [Wed, 24 Feb 2016 23:07:38 +0000 (18:07 -0500)]
Style: indentation issues
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Antoine Busque [Tue, 22 Dec 2015 03:52:10 +0000 (22:52 -0500)]
Use core/stats classes in IO analysis
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Tue, 22 Dec 2015 03:51:24 +0000 (22:51 -0500)]
Initial core/stats module implementation
Signed-off-by: Antoine Busque <abusque@efficios.com>
Julien Desfossez [Thu, 11 Feb 2016 17:42:15 +0000 (12:42 -0500)]
Merge pull request #30 from jgalar/master
Add a LICENSE file and a stand-alone copy of the MIT license
Jérémie Galarneau [Thu, 11 Feb 2016 17:36:15 +0000 (12:36 -0500)]
Add a LICENSE file and a stand-alone copy of the MIT license
A LICENSE file is provided for all other LTTng projects. These
files are added to maintain uniformity among the projects'
organization.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Julien Desfossez [Wed, 13 Jan 2016 21:16:18 +0000 (16:16 -0500)]
Merge pull request #29 from mjeanson/master
Doc: Use git url for pip install in README
Michael Jeanson [Wed, 13 Jan 2016 20:55:31 +0000 (15:55 -0500)]
Doc: Use git url for pip install in README
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Julien Desfossez [Mon, 4 Jan 2016 22:07:30 +0000 (17:07 -0500)]
Merge pull request #28 from lttng/staging
Staging for 0.4
Julien Desfossez [Mon, 4 Jan 2016 21:50:08 +0000 (16:50 -0500)]
Merge pull request #27 from abusque/staging
Priority analysis and fixes
Antoine Busque [Mon, 14 Dec 2015 16:30:37 +0000 (11:30 -0500)]
Fix: cputop: sort CPUs by ID instead of usage
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 14 Dec 2015 16:16:00 +0000 (11:16 -0500)]
Fix: don't override prio value from statedump event
If a process already has a prio value, gathered from sched_* events,
don't override it with the value extracted from an
lttng_statedump_process_state event.
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 14 Dec 2015 15:53:39 +0000 (10:53 -0500)]
Fix: use path to kernel trace to look up tracer version
Currently, only the lttng-modules version is of use for the
analyses. However, multi-domain traces, combining UST and modules,
could lead to unpredictable results wherein the tracer_version was
erroneously identified as that of the userspace tracer, which was
problematic when its version differed from that of the kernel tracer.
Extracting the version directly from the kernel trace's metadata
corrects this issue.
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 14 Dec 2015 11:54:16 +0000 (06:54 -0500)]
Add prio list to per-tid schedstats output
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 14 Dec 2015 11:53:50 +0000 (06:53 -0500)]
Fix: sched: track prio at process creation
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 14 Dec 2015 11:53:21 +0000 (06:53 -0500)]
Fix: sched: keep current prio for next analysis period
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 14 Dec 2015 11:22:49 +0000 (06:22 -0500)]
Fix: compute correct prio value on older tracer versions
Versions of lttng-modules prior to 2.7.1 did not subtract the
MAX_RT_PRIO (whose value is 100) from the prio fields in
sched_wak{eup, eup_new, ing} events.
Now that we keep the tracer version information in the automaton,
compute the offset if necessary, depending on the version.
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 14 Dec 2015 11:21:54 +0000 (06:21 -0500)]
Read tracer version and keep it in the automaton
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 14 Dec 2015 11:20:14 +0000 (06:20 -0500)]
Use version_utils for _MI_VERSION
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 14 Dec 2015 11:17:18 +0000 (06:17 -0500)]
Add version_utils modules in a new common package
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 14 Dec 2015 09:48:48 +0000 (04:48 -0500)]
Fix: sched: sort procnames regardless of capitalization
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Fri, 4 Dec 2015 11:39:45 +0000 (06:39 -0500)]
Add support for different period begin/end keys, constant keys
This allows using differently named fields as a period key for begin
and end events. For instance, comparing the `tid` field from a
`sched_waking` event to that of `next_tid` in `sched_switch`.
This also adds support for constant or fixed key value. That is to
say, with the same TID example, one can specify a particular TID
value, and only periods for which the key matches this value will be
accounted for.
In both new features, the order of fields and values must be
consistent across all arguments for multi-field keys.
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Fri, 4 Dec 2015 11:37:36 +0000 (06:37 -0500)]
PEP 8: place standard library imports first
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Fri, 4 Dec 2015 08:59:35 +0000 (03:59 -0500)]
Add current prio to proc state, track prio changes
This adds a prio field to the Process class from linuxautomaton, which
contains the process' current priority value. On priority change, a
notification is sent, allowing analyses to track priority
changes. Currently, the sched analysis tracks these priority changes
via a per-process PrioEvent list, formed by (timestamp, prio) tuples.
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Fri, 4 Dec 2015 08:54:19 +0000 (03:54 -0500)]
Allowing filename in IO analysis from statedump events
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Fri, 4 Dec 2015 05:36:01 +0000 (00:36 -0500)]
Refactor state providers __init__ and process_event
This minor refactor minimises code duplication by removing identical
implementations of process_event in classes derived from
StateProvider, and also by moving duplicated parts of the __init__
methods in these class to the parent.
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Thu, 3 Dec 2015 07:41:53 +0000 (02:41 -0500)]
Implement sched latency frequency distribution
This includes MI and text output implementations, for total, per-tid,
and per-prio sched latencies.
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Thu, 3 Dec 2015 07:32:48 +0000 (02:32 -0500)]
Add lttng-schedfreq wrapper script
Signed-off-by: Antoine Busque <abusque@efficios.com>
Julien Desfossez [Wed, 2 Dec 2015 23:43:16 +0000 (18:43 -0500)]
fix: missing wakeup/waking events
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Antoine Busque [Tue, 10 Nov 2015 20:48:15 +0000 (15:48 -0500)]
Fix: reset analysis when beginning a new period
Previously, the analysis was reset when a period ended. Although the
effect was strictly equivalent when using a single event to mark both
the beginning and end of the period, or a fixed length period, when
using distinct begin and end events the effect is quite different.
Resetting at the end of a period instead of the beginning had the
effect of accumulating analysis results during the periodless gap
before the next begin event and wrongly considering them as part of
the next period. Resetting at the beginning of the next period fixes
this issue.
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Tue, 10 Nov 2015 20:26:55 +0000 (15:26 -0500)]
Exit gracefully on SIGINT in run()
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 9 Nov 2015 00:25:47 +0000 (19:25 -0500)]
Fix pylint issues
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Sun, 8 Nov 2015 23:57:24 +0000 (18:57 -0500)]
Fix pep8 style issues
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Sun, 8 Nov 2015 23:36:39 +0000 (18:36 -0500)]
Add target CPU to sched analysis
Signed-off-by: Antoine Busque <abusque@efficios.com>
Philippe Proulx [Sat, 7 Nov 2015 01:57:49 +0000 (20:57 -0500)]
Add scheduling latencies frequencies MI results
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 7 Nov 2015 00:57:28 +0000 (19:57 -0500)]
IRQ freq distribution: consolidate as series table
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Antoine Busque [Fri, 6 Nov 2015 22:37:42 +0000 (17:37 -0500)]
Output last process priority in cputop
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Fri, 6 Nov 2015 11:55:23 +0000 (06:55 -0500)]
Implement uniform freq mode for IRQ analysis
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Fri, 6 Nov 2015 11:54:53 +0000 (06:54 -0500)]
Add duration property for IRQs
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Fri, 6 Nov 2015 05:01:15 +0000 (00:01 -0500)]
Add filtering by CPU ID to analyses
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Wed, 4 Nov 2015 03:59:41 +0000 (22:59 -0500)]
Remove shebangs on non-executable modules
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Fri, 6 Nov 2015 02:34:52 +0000 (21:34 -0500)]
Use TIDs for proc filtering, and filter in core
Signed-off-by: Antoine Busque <abusque@efficios.com>
Antoine Busque [Mon, 2 Nov 2015 22:58:13 +0000 (17:58 -0500)]
Implement sched switch latency analysis
The sched switch latency analysis allows to measure latencies between
sched_wakeup or sched_waking events and their corresponding
sched_switch event.
It features log, top, and stats output modes.
Signed-off-by: Antoine Busque <abusque@efficios.com>
Philippe Proulx [Fri, 6 Nov 2015 20:57:02 +0000 (15:57 -0500)]
TMP: add MI test script
Philippe Proulx [Tue, 3 Nov 2015 20:36:36 +0000 (15:36 -0500)]
Use Babeltrace's dummy output to check lost events
Suggested-by: Antoine Busque <abusque@efficios.com>
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 3 Nov 2015 04:12:42 +0000 (23:12 -0500)]
Add doc/mi.md
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 3 Nov 2015 04:08:26 +0000 (23:08 -0500)]
command.py: colored error if possible
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 3 Nov 2015 04:06:27 +0000 (23:06 -0500)]
cli: add copyright
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 3 Nov 2015 04:04:29 +0000 (23:04 -0500)]
cli: remove shebangs
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sun, 1 Nov 2015 17:03:08 +0000 (12:03 -0500)]
Fix: extract_timerange(): always return a pair
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sun, 1 Nov 2015 04:47:50 +0000 (00:47 -0400)]
Fix: analysis.py: use appropriate attributes
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sun, 1 Nov 2015 04:46:54 +0000 (00:46 -0400)]
Fix: _process_date_args(): use appropriate attributes
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sun, 1 Nov 2015 04:37:33 +0000 (00:37 -0400)]
automaton/mem: handle `kmem_` prefix
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 28 Oct 2015 19:40:46 +0000 (15:40 -0400)]
setup.py: add MI console scripts
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 28 Oct 2015 19:40:32 +0000 (15:40 -0400)]
setup.py: chmod +x
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 28 Oct 2015 19:38:56 +0000 (15:38 -0400)]
date_to_epoch_nsec(): support ns only
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
This page took 0.063175 seconds and 5 git commands to generate.