Antoine Busque [Thu, 2 Oct 2014 19:03:54 +0000 (15:03 -0400)]
Merge and delete conflicting imports of socket
Antoine Busque [Thu, 2 Oct 2014 18:46:57 +0000 (14:46 -0400)]
Merge branch 'master' of github.com:jdesfossez/lttng-analyses
Antoine Busque [Thu, 2 Oct 2014 18:46:43 +0000 (14:46 -0400)]
Remove IntEnums for compatibility with Python 3.3
Jérémie Galarneau [Thu, 2 Oct 2014 18:28:20 +0000 (14:28 -0400)]
Remove references to socket.AddressFamily
Removed references to socket.AddressFamily and IntEnum which were
introduced as of Python 3.4.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Julien Desfossez [Mon, 15 Sep 2014 20:44:57 +0000 (16:44 -0400)]
readme: usage of kswapd/writeback analysis
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Thu, 11 Sep 2014 20:22:01 +0000 (16:22 -0400)]
Pages freed and writeback accounting
During the syscall latency tracking, take into account the number of
pages written on disk by the writeback mechanism.
Also, if a process wakes up kswapd, account the number of pages freed
(most likely evicted from cache).
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 27 Aug 2014 19:27:38 +0000 (15:27 -0400)]
fix typo
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Mon, 25 Aug 2014 16:37:32 +0000 (12:37 -0400)]
Improve netword FD type detection
Fix mapping between family and fdtype.
Add heuristic to set the FDtype to net if a process does a net_dev_xmit
during a write syscall. For now, we use the maybe_net type because we do
not guarantee this information to be exact.
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Antoine Busque [Wed, 20 Aug 2014 23:28:42 +0000 (19:28 -0400)]
Add process/thread hierarchy to metadata
Antoine Busque [Wed, 20 Aug 2014 23:28:24 +0000 (19:28 -0400)]
Fix: correct path name pasted over from fd-info
Antoine Busque [Fri, 15 Aug 2014 16:16:46 +0000 (12:16 -0400)]
Fix: rename inner fd variable shadowing outer one
Antoine Busque [Fri, 15 Aug 2014 16:01:36 +0000 (12:01 -0400)]
Don't create capped collections
Antoine Busque [Thu, 14 Aug 2014 23:02:14 +0000 (19:02 -0400)]
Handle merging metadata from multiple analyses of same trace
Antoine Busque [Thu, 14 Aug 2014 21:31:56 +0000 (17:31 -0400)]
Clean-up perf-info and fd-info for consistency
Eliminated all confusion between PID/TID by referring only to the TID,
standardized function names and argument names in prevision of unified
analysis API.
Antoine Busque [Thu, 14 Aug 2014 19:15:51 +0000 (15:15 -0400)]
perf-info cleanup
Antoine Busque [Wed, 13 Aug 2014 20:10:24 +0000 (16:10 -0400)]
Fix: create CPU during sched switch if it doesn't exist
A previous commit made the sched_switch event handling return early if
the CPU hadn't yet been entered into the self.cpus dictionary, which
meant that the newly scheduled TID would not be added to the self.tids
dictionary, thereby raising a KeyError on the subsequent event that
expected this TID to exist (e.g. the following exit_syscall).
Instead, the CPU is simply created as needed, and execution follows as
expected.
Antoine Busque [Tue, 5 Aug 2014 16:38:33 +0000 (12:38 -0400)]
Add fd state tracking to json/mongo formats
Antoine Busque [Fri, 1 Aug 2014 20:38:55 +0000 (16:38 -0400)]
Fix: don't long null FDs to database
Antoine Busque [Fri, 1 Aug 2014 20:33:49 +0000 (16:33 -0400)]
Add errno tracking to database
Julien Desfossez [Fri, 1 Aug 2014 01:40:08 +0000 (21:40 -0400)]
Merge branch 'master' of github.com:jdesfossez/lttng-analyses
Julien Desfossez [Fri, 1 Aug 2014 01:40:00 +0000 (21:40 -0400)]
compute the scheduling latency
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Antoine Busque [Thu, 31 Jul 2014 15:44:42 +0000 (11:44 -0400)]
Fix: set proper session name from path with trailing slash
Julien Desfossez [Wed, 30 Jul 2014 22:40:10 +0000 (18:40 -0400)]
fix: initial perf counter value
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 30 Jul 2014 22:18:32 +0000 (18:18 -0400)]
fix: initial perf counter value
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 30 Jul 2014 21:51:02 +0000 (17:51 -0400)]
make sure we only look for perf_ in the stream event context to avoid clashes with event fields
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 30 Jul 2014 21:43:37 +0000 (17:43 -0400)]
Perf-info: track perf PMU counter changes per-tid and output in text,json,mongodb
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 30 Jul 2014 21:42:58 +0000 (17:42 -0400)]
sched_switch can return a dict of what changed during the scheduling period (useful for perf counters)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 30 Jul 2014 16:35:32 +0000 (12:35 -0400)]
support perf counters on sched_switch
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Thu, 24 Jul 2014 20:13:19 +0000 (16:13 -0400)]
fix order of the display in iotop
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Thu, 24 Jul 2014 19:55:03 +0000 (15:55 -0400)]
extract ip+port from connect
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Antoine Busque [Fri, 18 Jul 2014 20:15:05 +0000 (16:15 -0400)]
Merge remote-tracking branch 'upstream/master'
Antoine Busque [Fri, 18 Jul 2014 19:57:02 +0000 (15:57 -0400)]
MongoDB ip and port are now specified through the cli, not hardcoded
Julien Desfossez [Thu, 17 Jul 2014 18:02:33 +0000 (14:02 -0400)]
quick fix on the readme
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Thu, 17 Jul 2014 18:01:00 +0000 (14:01 -0400)]
quick fix on the readme
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Thu, 17 Jul 2014 17:59:38 +0000 (13:59 -0400)]
quick fix on the readme
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Thu, 17 Jul 2014 17:56:50 +0000 (13:56 -0400)]
add README
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Thu, 17 Jul 2014 17:27:13 +0000 (13:27 -0400)]
handle the case where family is not available
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Antoine Busque [Fri, 27 Jun 2014 17:23:16 +0000 (13:23 -0400)]
Index latencies by timestamp in mongodb
Antoine Busque [Thu, 26 Jun 2014 19:42:48 +0000 (15:42 -0400)]
Use int values for PID in MongoDB metadata
Antoine Busque [Thu, 26 Jun 2014 19:42:24 +0000 (15:42 -0400)]
Track sessions in mongodb collection
Antoine Busque [Thu, 26 Jun 2014 19:41:35 +0000 (15:41 -0400)]
Fix path index for session name
Antoine Busque [Tue, 24 Jun 2014 19:05:38 +0000 (15:05 -0400)]
Handle collection creation and insertion for fd latencies
Antoine Busque [Tue, 24 Jun 2014 19:04:50 +0000 (15:04 -0400)]
Change latencies format from array to object notation
Antoine Busque [Tue, 24 Jun 2014 19:03:03 +0000 (15:03 -0400)]
Use time conversion constants
Antoine Busque [Tue, 24 Jun 2014 19:00:51 +0000 (15:00 -0400)]
Use constants for mongodb connection
Antoine Busque [Fri, 20 Jun 2014 22:53:44 +0000 (18:53 -0400)]
Initial storing of metadata to mongo
Antoine Busque [Fri, 20 Jun 2014 20:13:25 +0000 (16:13 -0400)]
Move fd-info json logging to separate function
Antoine Busque [Fri, 20 Jun 2014 20:10:47 +0000 (16:10 -0400)]
Add time conversion constants to fd-info for legibility
Antoine Busque [Fri, 20 Jun 2014 20:09:58 +0000 (16:09 -0400)]
Add quiet argument to fd-info to silence terminal output
Antoine Busque [Fri, 20 Jun 2014 19:46:21 +0000 (15:46 -0400)]
Update gitignore for emacs file locks
Antoine Busque [Fri, 20 Jun 2014 17:15:38 +0000 (13:15 -0400)]
Add clearer output format to nettop
Antoine Busque [Fri, 20 Jun 2014 15:36:34 +0000 (11:36 -0400)]
Update nettop to support ipv4/6 filtering
Antoine Busque [Thu, 19 Jun 2014 21:14:44 +0000 (17:14 -0400)]
Add address family to network syscalls/FDs
Antoine Busque [Wed, 18 Jun 2014 20:05:16 +0000 (16:05 -0400)]
Fix process name in metadata
Antoine Busque [Wed, 18 Jun 2014 16:28:02 +0000 (12:28 -0400)]
Start enums at 0 for direct use with arrays in the frontend
Antoine Busque [Wed, 18 Jun 2014 16:27:45 +0000 (12:27 -0400)]
Add fdtype to metadata for visualization
Antoine Busque [Wed, 18 Jun 2014 15:55:29 +0000 (11:55 -0400)]
Create FDType enum
Antoine Busque [Wed, 18 Jun 2014 15:44:28 +0000 (11:44 -0400)]
Create IOCategory enum
Julien Desfossez [Tue, 17 Jun 2014 20:40:47 +0000 (16:40 -0400)]
Add distinction between network and disk FDs
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Antoine Busque [Tue, 17 Jun 2014 19:11:29 +0000 (15:11 -0400)]
Fix name of block events for graphite report
Julien Desfossez [Fri, 13 Jun 2014 16:22:51 +0000 (12:22 -0400)]
handle bio_remap events, so we now have the real per-partition usage
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Antoine Busque [Fri, 6 Jun 2014 19:54:48 +0000 (15:54 -0400)]
Add better path handling fd-info json output option
Antoine Busque [Thu, 5 Jun 2014 21:40:59 +0000 (17:40 -0400)]
Merge remote-tracking branch 'upstream/master'
Julien Desfossez [Wed, 4 Jun 2014 21:21:10 +0000 (17:21 -0400)]
reset also the block read/write when needed
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 4 Jun 2014 21:18:49 +0000 (17:18 -0400)]
real block usage in iotop
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 4 Jun 2014 21:18:19 +0000 (17:18 -0400)]
Fix: division by zero sometimes in the ascii_graph lib
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 4 Jun 2014 16:53:24 +0000 (12:53 -0400)]
fix: prevent crash if error code does not exit (-512 in my test case)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 4 Jun 2014 16:52:44 +0000 (12:52 -0400)]
cleanup block events, we only need block_rq_issue and block_rq_complete
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Antoine Busque [Wed, 4 Jun 2014 15:18:19 +0000 (11:18 -0400)]
Add FD and filename metadata for JSON output
Antoine Busque [Mon, 2 Jun 2014 23:48:02 +0000 (19:48 -0400)]
Output process metadata for json visualizations
Antoine Busque [Mon, 2 Jun 2014 20:46:06 +0000 (16:46 -0400)]
Add IO syscall category to json output for fd-info
Antoine Busque [Mon, 2 Jun 2014 20:16:30 +0000 (16:16 -0400)]
Add support for floating point durations, units
The user can now specify one of ns, us, ms or s as a unit when
specifying a minimum syscall duration for the fd-info script.
Floating-point values are also allowed, except for the ns unit
which is the finest granularity allowed.
Antoine Busque [Mon, 2 Jun 2014 17:55:53 +0000 (13:55 -0400)]
Add flag to toggle json output for fd-info
Antoine Busque [Mon, 2 Jun 2014 16:26:23 +0000 (12:26 -0400)]
Remove visualizations dir, moved to another repo
Antoine Busque [Fri, 30 May 2014 19:09:31 +0000 (15:09 -0400)]
Add basic IO latency visualization
Antoine Busque [Wed, 28 May 2014 18:43:52 +0000 (14:43 -0400)]
Completed basic ctf-filter functionality
It is still lacking support for certain types of fields,
but the basic event filtering works
Antoine Busque [Wed, 28 May 2014 18:35:34 +0000 (14:35 -0400)]
Add progress bar to filter
Antoine Busque [Wed, 28 May 2014 18:23:57 +0000 (14:23 -0400)]
ctf-filter: add basic support for writing events to new trace
Don't expect this to work correctly, it's a partial implementation
Antoine Busque [Wed, 28 May 2014 15:09:58 +0000 (11:09 -0400)]
Add support for more integer and string fields to ctf-filter
Antoine Busque [Tue, 27 May 2014 22:15:53 +0000 (18:15 -0400)]
Add basic structure for ctf filtering
Currently only supports integer fields and
writing them to the metadate
Antoine Busque [Tue, 27 May 2014 16:12:12 +0000 (12:12 -0400)]
Allow filtering by time range
Antoine Busque [Tue, 27 May 2014 14:35:11 +0000 (10:35 -0400)]
Allow filtering by syscall name
Antoine Busque [Fri, 23 May 2014 21:35:59 +0000 (17:35 -0400)]
Major linting in fd-info.py
Antoine Busque [Fri, 23 May 2014 20:47:06 +0000 (16:47 -0400)]
Allow to filter by errno name
Antoine Busque [Fri, 23 May 2014 20:20:22 +0000 (16:20 -0400)]
Add name of errno for failed syscalls
Antoine Busque [Fri, 23 May 2014 19:49:23 +0000 (15:49 -0400)]
Highlight in red failed syscalls
Only in interactive shells. --no-color disables it
Antoine Busque [Fri, 23 May 2014 19:11:17 +0000 (15:11 -0400)]
Handle exit_syscall to allow for duration and failure filtering
Antoine Busque [Fri, 23 May 2014 19:10:32 +0000 (15:10 -0400)]
Track syscall entry info for all syscalls
Antoine Busque [Thu, 22 May 2014 21:39:24 +0000 (17:39 -0400)]
Change formatting of output to a more readable format
This format will also help distinguish entry vs exit of syscalls
which will be added soon to the script
Antoine Busque [Thu, 22 May 2014 21:22:21 +0000 (17:22 -0400)]
Move 'const' lists of syscall names from instance variables to class variables
Antoine Busque [Thu, 22 May 2014 19:54:13 +0000 (15:54 -0400)]
Add support for read/write events in fd-info.
Eventually, partial payload should be displayed, as in strace
Antoine Busque [Thu, 22 May 2014 18:49:12 +0000 (14:49 -0400)]
Add comment stating known limitations of network analysis
Antoine Busque [Thu, 22 May 2014 14:53:43 +0000 (10:53 -0400)]
Merge remote-tracking branch 'upstream/master'
Antoine Busque [Wed, 21 May 2014 17:50:08 +0000 (13:50 -0400)]
Add progress bar to nettop analysis
Antoine Busque [Wed, 21 May 2014 17:35:05 +0000 (13:35 -0400)]
Output top n processes only, and in descending order of net I/O
Julien Desfossez [Wed, 21 May 2014 17:01:24 +0000 (13:01 -0400)]
track open latency
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 21 May 2014 17:01:11 +0000 (13:01 -0400)]
use the sched_process_exec in iotop
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Julien Desfossez [Wed, 21 May 2014 17:00:57 +0000 (13:00 -0400)]
use the procname context if available
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Antoine Busque [Tue, 20 May 2014 22:52:42 +0000 (18:52 -0400)]
Add basic socket read/write measurement
Antoine Busque [Tue, 20 May 2014 19:33:18 +0000 (15:33 -0400)]
Remove unused args variable
This page took 0.054727 seconds and 5 git commands to generate.