deliverable/lttng-analyses.git
8 years agoImplement sched switch latency analysis
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>
8 years agoTMP: add MI test script
Philippe Proulx [Fri, 6 Nov 2015 20:57:02 +0000 (15:57 -0500)] 
TMP: add MI test script

8 years agoUse Babeltrace's dummy output to check lost events
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>
8 years agoAdd doc/mi.md
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>
8 years agocommand.py: colored error if possible
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>
8 years agocli: add copyright
Philippe Proulx [Tue, 3 Nov 2015 04:06:27 +0000 (23:06 -0500)] 
cli: add copyright

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agocli: remove shebangs
Philippe Proulx [Tue, 3 Nov 2015 04:04:29 +0000 (23:04 -0500)] 
cli: remove shebangs

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agoFix: extract_timerange(): always return a pair
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>
8 years agoFix: analysis.py: use appropriate attributes
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>
8 years agoFix: _process_date_args(): use appropriate attributes
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>
8 years agoautomaton/mem: handle `kmem_` prefix
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>
8 years agosetup.py: add MI console scripts
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>
8 years agosetup.py: chmod +x
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>
8 years agodate_to_epoch_nsec(): support ns only
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>
8 years agoImplement MI mode
Philippe Proulx [Wed, 28 Oct 2015 19:42:41 +0000 (15:42 -0400)] 
Implement MI mode

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agodate_to_epoch_nsec(): fix and improve regexes
Philippe Proulx [Fri, 9 Oct 2015 20:26:56 +0000 (16:26 -0400)] 
date_to_epoch_nsec(): fix and improve regexes

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agoMerge pull request #25 from abusque/periodic
Julien Desfossez [Mon, 2 Nov 2015 05:00:51 +0000 (00:00 -0500)] 
Merge pull request #25 from abusque/periodic

Periodic analysis implementation

8 years agoAllow user to specify fields forming the period marker key
Antoine Busque [Wed, 28 Oct 2015 06:38:05 +0000 (02:38 -0400)] 
Allow user to specify fields forming the period marker key

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoPrevent division by zero in core/cputop.py
Antoine Busque [Wed, 28 Oct 2015 06:10:24 +0000 (02:10 -0400)] 
Prevent division by zero in core/cputop.py

When an extremely short period is generated (usually at the end of a
trace), there is a chance that the duration will be zero. Instead of
trying to divide by this value, set the usage percent for that
(degenerate) period to 0.

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoAdd support for periods with sub-second units
Antoine Busque [Wed, 28 Oct 2015 05:31:55 +0000 (01:31 -0400)] 
Add support for periods with sub-second units

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoAdd string to ns method and clean-up string to bytes method
Antoine Busque [Wed, 28 Oct 2015 00:14:48 +0000 (20:14 -0400)] 
Add string to ns method and clean-up string to bytes method

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoInitial implementation of periodic events analysis
Antoine Busque [Sun, 25 Oct 2015 05:43:37 +0000 (01:43 -0400)] 
Initial implementation of periodic events analysis

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoMerge pull request #24 from abusque/cli-refactor
Julien Desfossez [Tue, 27 Oct 2015 19:12:06 +0000 (15:12 -0400)] 
Merge pull request #24 from abusque/cli-refactor

Refactor and clean-up cli and core

8 years agoRefactor and clean-up cli and core
Antoine Busque [Sun, 25 Oct 2015 05:25:07 +0000 (01:25 -0400)] 
Refactor and clean-up cli and core

This refactor mainly refactors modules within the cli package in order
to reduce the duplicated code between separate commands. This allows
for new analyses to be added in a much simpler fashion.

The second significant portion of the refactor is the removal of all
refresh/reset or otherwise analysis-state affecting code from the cli,
and its reimplementation within the analysis itself. The cli now
simply feeds events to the analysis (and state automaton), and
receives notifications to which it can react. For now, the only
notification type is received whenever an analysis period has ended,
in which case the default cli behaviour is to output the results.

Some other minor style clean-up is also performed where was deemed
necessary.

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoAdd lttng-iolog wrapper script
Antoine Busque [Sun, 25 Oct 2015 05:13:00 +0000 (01:13 -0400)] 
Add lttng-iolog wrapper script

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: remove superfluous disk name formatting in io.py
Antoine Busque [Sun, 25 Oct 2015 05:10:11 +0000 (01:10 -0400)] 
Fix: remove superfluous disk name formatting in io.py

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agoFix: prevent division by zero in cputop
Antoine Busque [Sun, 25 Oct 2015 05:08:01 +0000 (01:08 -0400)] 
Fix: prevent division by zero in cputop

Signed-off-by: Antoine Busque <abusque@efficios.com>
8 years agofix: filter also block requests
Julien Desfossez [Fri, 24 Jul 2015 20:24:04 +0000 (16:24 -0400)] 
fix: filter also block requests

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agofix: tid is not necessarily available
Julien Desfossez [Fri, 24 Jul 2015 20:21:41 +0000 (16:21 -0400)] 
fix: tid is not necessarily available

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agofix: pip is not required if we install the distro packages
Julien Desfossez [Mon, 13 Jul 2015 22:47:21 +0000 (18:47 -0400)] 
fix: pip is not required if we install the distro packages

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoChangelog for v0.3
Julien Desfossez [Mon, 13 Jul 2015 22:14:08 +0000 (18:14 -0400)] 
Changelog for v0.3

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
8 years agoMerge pull request #23 from mjeanson/master
Julien Desfossez [Mon, 13 Jul 2015 21:26:08 +0000 (17:26 -0400)] 
Merge pull request #23 from mjeanson/master

Refactor in a single package with subpackages

8 years agoConvert README to reStructuredText
Michael Jeanson [Mon, 13 Jul 2015 16:24:16 +0000 (12:24 -0400)] 
Convert README to reStructuredText

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 years agoFix pep8 errors
Michael Jeanson [Fri, 10 Jul 2015 20:51:52 +0000 (16:51 -0400)] 
Fix pep8 errors

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 years agoRefactor in a single package with subpackages
Michael Jeanson [Mon, 13 Jul 2015 17:59:55 +0000 (13:59 -0400)] 
Refactor in a single package with subpackages

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 years agofix: stats with 0 requests
Julien Desfossez [Fri, 19 Jun 2015 20:44:57 +0000 (16:44 -0400)] 
fix: stats with 0 requests

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
9 years agoCheck for babeltrace python package on installation
Antoine Busque [Tue, 21 Apr 2015 00:10:31 +0000 (20:10 -0400)] 
Check for babeltrace python package on installation

9 years agoDefine version once per package only
Antoine Busque [Mon, 20 Apr 2015 21:48:46 +0000 (17:48 -0400)] 
Define version once per package only

9 years agoAdd ChangeLog file
Antoine Busque [Mon, 20 Apr 2015 20:24:06 +0000 (16:24 -0400)] 
Add ChangeLog file

9 years agoMerge pull request #22 from abusque/refactor-syscallstats
Antoine Busque [Mon, 20 Apr 2015 19:05:09 +0000 (15:05 -0400)] 
Merge pull request #22 from abusque/refactor-syscallstats

Refactor syscallstats and bump version

9 years agoBump version to 0.2
Antoine Busque [Mon, 20 Apr 2015 19:01:32 +0000 (15:01 -0400)] 
Bump version to 0.2

9 years agoRefactor syscallstats script to use new analysis backend
Antoine Busque [Mon, 20 Apr 2015 18:56:57 +0000 (14:56 -0400)] 
Refactor syscallstats script to use new analysis backend

9 years agoRename min/max attributes to avoid collision with built-ins
Antoine Busque [Mon, 20 Apr 2015 18:41:30 +0000 (14:41 -0400)] 
Rename min/max attributes to avoid collision with built-ins

9 years agoMerge pull request #21 from abusque/decouple-io
Julien Desfossez [Thu, 16 Apr 2015 22:25:40 +0000 (18:25 -0400)] 
Merge pull request #21 from abusque/decouple-io

Refactor/Rewrite I/O state system and analysis

9 years agoImplement check for --end argument before start of trace
Antoine Busque [Thu, 16 Apr 2015 22:21:20 +0000 (18:21 -0400)] 
Implement check for --end argument before start of trace

9 years agoStyle: fix indentation in _get_io_requests
Antoine Busque [Thu, 16 Apr 2015 20:48:08 +0000 (16:48 -0400)] 
Style: fix indentation in _get_io_requests

9 years agoFix: set pid correctly on FileStats init
Antoine Busque [Thu, 16 Apr 2015 20:36:52 +0000 (16:36 -0400)] 
Fix: set pid correctly on FileStats init

9 years agoFix typo in _fix_context_pid
Antoine Busque [Thu, 16 Apr 2015 20:24:34 +0000 (16:24 -0400)] 
Fix typo in _fix_context_pid

9 years agoFix: use TID instead of PID in file stats if PID is None
Antoine Busque [Thu, 16 Apr 2015 18:56:53 +0000 (14:56 -0400)] 
Fix: use TID instead of PID in file stats if PID is None

9 years agoRefactor io latency freq output
Antoine Busque [Wed, 15 Apr 2015 22:12:22 +0000 (18:12 -0400)] 
Refactor io latency freq output

9 years agoLint: remove unused import, fix 'dangerous' default args
Antoine Busque [Wed, 15 Apr 2015 20:45:46 +0000 (16:45 -0400)] 
Lint: remove unused import, fix 'dangerous' default args

9 years agoRefactor io top and log views
Antoine Busque [Wed, 15 Apr 2015 20:44:57 +0000 (16:44 -0400)] 
Refactor io top and log views

9 years agoRemove deprecated --extra argument
Antoine Busque [Wed, 15 Apr 2015 20:36:24 +0000 (16:36 -0400)] 
Remove deprecated --extra argument

9 years agoFix: correct typo and existence test in fd getter
Antoine Busque [Wed, 15 Apr 2015 20:22:11 +0000 (16:22 -0400)] 
Fix: correct typo and existence test in fd getter

9 years agoFix: correct typo in ns_to_hour_nsec output
Antoine Busque [Wed, 15 Apr 2015 07:23:58 +0000 (03:23 -0400)] 
Fix: correct typo in ns_to_hour_nsec output

9 years agoStyle: fix pylint/pep8 style issues
Antoine Busque [Tue, 14 Apr 2015 20:54:28 +0000 (16:54 -0400)] 
Style: fix pylint/pep8 style issues

9 years agoReplace map() by list comprehension in disk latency stats
Antoine Busque [Tue, 14 Apr 2015 20:34:43 +0000 (16:34 -0400)] 
Replace map() by list comprehension in disk latency stats

9 years agoRefactor IO Latency stats output methods
Antoine Busque [Tue, 14 Apr 2015 20:08:30 +0000 (16:08 -0400)] 
Refactor IO Latency stats output methods

9 years agoAdd generators to iterate over io requests
Antoine Busque [Mon, 13 Apr 2015 21:48:34 +0000 (17:48 -0400)] 
Add generators to iterate over io requests

9 years agoAdd method to compare equivalent io operations
Antoine Busque [Mon, 13 Apr 2015 21:47:57 +0000 (17:47 -0400)] 
Add method to compare equivalent io operations

9 years agoFix: properly handle empty filters for IO file stats
Antoine Busque [Fri, 10 Apr 2015 23:04:21 +0000 (19:04 -0400)] 
Fix: properly handle empty filters for IO file stats

9 years agoFix FileStats reset() function
Antoine Busque [Fri, 10 Apr 2015 23:03:27 +0000 (19:03 -0400)] 
Fix FileStats reset() function

9 years agoMove _filter_process method to base command class
Antoine Busque [Fri, 10 Apr 2015 22:59:39 +0000 (18:59 -0400)] 
Move _filter_process method to base command class

9 years agoMake _arg_pid_list list of ints instead of strings
Antoine Busque [Fri, 10 Apr 2015 22:47:00 +0000 (18:47 -0400)] 
Make _arg_pid_list list of ints instead of strings

9 years agoRefactor iotop per file analysis and output
Antoine Busque [Fri, 10 Apr 2015 22:32:16 +0000 (18:32 -0400)] 
Refactor iotop per file analysis and output

9 years agoRefactor iotop output methods
Antoine Busque [Fri, 10 Apr 2015 16:44:12 +0000 (12:44 -0400)] 
Refactor iotop output methods

9 years agoAdd _print_ascii_graph method to simplify output of graphs
Antoine Busque [Fri, 10 Apr 2015 03:59:32 +0000 (23:59 -0400)] 
Add _print_ascii_graph method to simplify output of graphs

9 years agoRename filter predicates to indicate visibility
Antoine Busque [Fri, 10 Apr 2015 03:58:18 +0000 (23:58 -0400)] 
Rename filter predicates to indicate visibility

9 years agoRemove deprecated breakcb in IO command
Antoine Busque [Thu, 9 Apr 2015 19:07:35 +0000 (15:07 -0400)] 
Remove deprecated breakcb in IO command

9 years agoRemove unused _compute_stats method from commands
Antoine Busque [Thu, 9 Apr 2015 19:06:43 +0000 (15:06 -0400)] 
Remove unused _compute_stats method from commands

9 years agoRename IO command for consistency with other commands
Antoine Busque [Thu, 9 Apr 2015 17:39:49 +0000 (13:39 -0400)] 
Rename IO command for consistency with other commands

9 years agoTrack FDs chronologically in IO analysis
Antoine Busque [Thu, 9 Apr 2015 16:58:19 +0000 (12:58 -0400)] 
Track FDs chronologically in IO analysis

9 years agoAdd timestamp to create/close FD notifications
Antoine Busque [Thu, 9 Apr 2015 16:54:20 +0000 (12:54 -0400)] 
Add timestamp to create/close FD notifications

9 years agoRemove dead code from IO cli
Antoine Busque [Tue, 7 Apr 2015 20:30:35 +0000 (16:30 -0400)] 
Remove dead code from IO cli

9 years agoReset FD in IO Analysis
Antoine Busque [Tue, 7 Apr 2015 19:45:38 +0000 (15:45 -0400)] 
Reset FD in IO Analysis

9 years agoAdd support for pwrite* and pread* I/O syscalls
Antoine Busque [Fri, 3 Apr 2015 23:02:19 +0000 (19:02 -0400)] 
Add support for pwrite* and pread* I/O syscalls

9 years agoImplement syscall I/O analysis
Antoine Busque [Fri, 3 Apr 2015 21:54:15 +0000 (17:54 -0400)] 
Implement syscall I/O analysis

9 years agoMove returned_size attribute from SyscallIORequest into ReadWriteIORequest
Antoine Busque [Fri, 3 Apr 2015 21:31:57 +0000 (17:31 -0400)] 
Move returned_size attribute from SyscallIORequest into ReadWriteIORequest

9 years agoSend create process and fd notification on statedump events
Antoine Busque [Fri, 3 Apr 2015 21:31:03 +0000 (17:31 -0400)] 
Send create process and fd notification on statedump events

9 years agoSend fd create and close notifications on sched events
Antoine Busque [Fri, 3 Apr 2015 21:23:44 +0000 (17:23 -0400)] 
Send fd create and close notifications on sched events

9 years agoFix: send create_fd notification for open io requests
Antoine Busque [Fri, 3 Apr 2015 21:22:58 +0000 (17:22 -0400)] 
Fix: send create_fd notification for open io requests

9 years agoAdd OP_READ_WRITE IO operation type for syscalls which both read and write
Antoine Busque [Fri, 3 Apr 2015 21:21:13 +0000 (17:21 -0400)] 
Add OP_READ_WRITE IO operation type for syscalls which both read and write

9 years agoUse a single method to track io request exits
Antoine Busque [Fri, 3 Apr 2015 21:19:24 +0000 (17:19 -0400)] 
Use a single method to track io request exits

9 years agoRefactor/rewrite IO state provider
Antoine Busque [Tue, 31 Mar 2015 20:54:49 +0000 (16:54 -0400)] 
Refactor/rewrite IO state provider

9 years agoRefactor syscall analysis to use new SyscallEvent class
Antoine Busque [Tue, 31 Mar 2015 20:51:08 +0000 (16:51 -0400)] 
Refactor syscall analysis to use new SyscallEvent class

9 years agoRefactor NetStateProvider to use new SyscallEvent and io rq objects
Antoine Busque [Tue, 31 Mar 2015 20:49:16 +0000 (16:49 -0400)] 
Refactor NetStateProvider to use new SyscallEvent and io rq objects

9 years agoRefactor MemStateProvider to use new SyscallEvent and io rq objects
Antoine Busque [Tue, 31 Mar 2015 20:48:40 +0000 (16:48 -0400)] 
Refactor MemStateProvider to use new SyscallEvent and io rq objects

9 years agoRemove pending_syscalls array from State class
Antoine Busque [Tue, 31 Mar 2015 20:45:57 +0000 (16:45 -0400)] 
Remove pending_syscalls array from State class

9 years agoRefactor statedump provider to track only state and not analysis related attributes
Antoine Busque [Tue, 31 Mar 2015 20:34:24 +0000 (16:34 -0400)] 
Refactor statedump provider to track only state and not analysis related attributes

9 years agoDon't set deprecated parent_pid on FD object
Antoine Busque [Tue, 31 Mar 2015 20:31:15 +0000 (16:31 -0400)] 
Don't set deprecated parent_pid on FD object

9 years agoUse SyscallEvent objects in syscall state provider
Antoine Busque [Tue, 31 Mar 2015 20:30:40 +0000 (16:30 -0400)] 
Use SyscallEvent objects in syscall state provider

9 years agoRemove Syscalls_stats class
Antoine Busque [Tue, 31 Mar 2015 20:29:31 +0000 (16:29 -0400)] 
Remove Syscalls_stats class

9 years agoRemove analysis related attributes from FD class, add factory to create from open rq
Antoine Busque [Tue, 31 Mar 2015 20:29:11 +0000 (16:29 -0400)] 
Remove analysis related attributes from FD class, add factory to create from open rq

9 years agoAdd get_fd_type method to retrieve fd type from syscall name
Antoine Busque [Tue, 31 Mar 2015 20:28:18 +0000 (16:28 -0400)] 
Add get_fd_type method to retrieve fd type from syscall name

9 years agoAdd more IORequest classes, and io_rq attr to SyscallEvent
Antoine Busque [Tue, 31 Mar 2015 20:25:38 +0000 (16:25 -0400)] 
Add more IORequest classes, and io_rq attr to SyscallEvent

9 years agoSet SyscallEvent name using get_syscall_name method
Antoine Busque [Tue, 31 Mar 2015 20:24:12 +0000 (16:24 -0400)] 
Set SyscallEvent name using get_syscall_name method

9 years agoRemove analysis related attributes from Process state class
Antoine Busque [Tue, 31 Mar 2015 20:22:36 +0000 (16:22 -0400)] 
Remove analysis related attributes from Process state class

9 years agoAdd more dup open syscalls, remove generic filenames from SyscallConsts
Antoine Busque [Tue, 31 Mar 2015 20:21:23 +0000 (16:21 -0400)] 
Add more dup open syscalls, remove generic filenames from SyscallConsts

9 years agoFix get_syscall_name string indexing
Antoine Busque [Tue, 24 Mar 2015 16:57:11 +0000 (12:57 -0400)] 
Fix get_syscall_name string indexing

9 years agoMove IO syscalls handling into separate provider
Antoine Busque [Mon, 23 Mar 2015 20:56:31 +0000 (16:56 -0400)] 
Move IO syscalls handling into separate provider

This page took 0.038423 seconds and 5 git commands to generate.