Benjamin Poirier [Wed, 12 Aug 2009 13:19:27 +0000 (09:19 -0400)]
lttv: Add option for "massif" heap profiling tool
Valgrind rules!
Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Benjamin Poirier [Wed, 12 Aug 2009 13:18:43 +0000 (09:18 -0400)]
lttv: Change "dbg" option in runlttv
Change the "dbg" option to "gdb" for more homogeneity: `valgrind` and `strace`
are specified by the tool name, not by its function. This allows adding an
option for another debugger.
Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Benjamin Poirier [Wed, 12 Aug 2009 13:18:22 +0000 (09:18 -0400)]
lttv: Extra arguments in runlttv
Here's an alternate take on specifying extra arguments for LTTV in the runlttv
script. They are specified on the command line after the optionnal "helper"
program name. This is more in line with the way commands like `xargs` take
extra arguments for the executable they invoke.
Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Mathieu Desnoyers [Wed, 19 Aug 2009 03:02:42 +0000 (23:02 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Tue, 18 Aug 2009 21:57:34 +0000 (17:57 -0400)]
Update manual for ldconfig
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Gabriel Matni [Fri, 14 Aug 2009 19:04:11 +0000 (15:04 -0400)]
add fsm checker by Gabriel Matni
Pierre-Marc Fournier [Wed, 12 Aug 2009 02:37:22 +0000 (22:37 -0400)]
runlttv: improvements
Pierre-Marc Fournier [Wed, 12 Aug 2009 02:32:25 +0000 (22:32 -0400)]
rename configure.in => configure.ac
Benjamin Poirier [Mon, 10 Aug 2009 20:38:31 +0000 (16:38 -0400)]
lttv: Look for executable in run script
When static link mode is enabled, the main lttv executable does not end up in
the same directory. Look for it in the two places where it might be.
Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Benjamin Poirier [Mon, 10 Aug 2009 20:38:20 +0000 (16:38 -0400)]
lttv: Fix configure arguments
Remove the unused maintainer mode switch.
Fix argument processing for static link mode. Note that it has little effect
on the actual build process since the modules are still dlopen()'ned.
Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Benjamin Poirier [Mon, 10 Aug 2009 20:38:06 +0000 (16:38 -0400)]
lttv: Clean up library handling in the build system
Take advantage of some more autoconf macros
Use LDADD instead of modifying LIBS through automake
Do not link each loadable module against lttvwindow ("Warning: Linking the
shared library [...] against the loadable module liblttvwindow.so is not
portable!")
Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Benjamin Poirier [Mon, 10 Aug 2009 20:37:27 +0000 (16:37 -0400)]
Remove some duplicate code in the build system
Centralize CFLAGS, LDFLAGS
Use some common automake directives for modules
Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Pierre-Marc Fournier [Mon, 10 Aug 2009 16:58:32 +0000 (12:58 -0400)]
depanalysis: fix segfault that occurs with -O2
Pierre-Marc Fournier [Mon, 10 Aug 2009 16:27:40 +0000 (12:27 -0400)]
runlttv: change valgrind args to give more details
Pierre-Marc Fournier [Thu, 30 Jul 2009 18:50:23 +0000 (14:50 -0400)]
initialize fields of LttTrace to ensure deterministic behavior and that valgrid does not complain
Mathieu Desnoyers [Thu, 30 Jul 2009 18:27:44 +0000 (14:27 -0400)]
update
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Thu, 30 Jul 2009 13:26:19 +0000 (09:26 -0400)]
Merge branch 'master' of ssh://lttng.org/home/git/lttv
Mathieu Desnoyers [Thu, 30 Jul 2009 13:26:07 +0000 (09:26 -0400)]
update sh
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Pierre-Marc Fournier [Fri, 24 Jul 2009 20:45:52 +0000 (16:45 -0400)]
depanalysis: fix segfault, remove some warnings
Pierre-Marc Fournier [Fri, 24 Jul 2009 19:45:28 +0000 (15:45 -0400)]
add experimental depanalysis module
Pierre-Marc Fournier [Fri, 24 Jul 2009 18:24:50 +0000 (14:24 -0400)]
runlttv: enhance
Pierre-Marc Fournier [Tue, 21 Jul 2009 22:41:54 +0000 (18:41 -0400)]
fix assertion
Mathieu Desnoyers [Fri, 24 Jul 2009 16:22:43 +0000 (12:22 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Thu, 23 Jul 2009 19:07:03 +0000 (15:07 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Benjamin Poirier [Mon, 20 Jul 2009 20:06:35 +0000 (16:06 -0400)]
lttv: Add git ignore files
Based on the kernel's .gitignore
Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Mathieu Desnoyers [Mon, 20 Jul 2009 18:20:52 +0000 (14:20 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Mon, 20 Jul 2009 13:27:01 +0000 (09:27 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Pierre-Marc Fournier [Thu, 16 Jul 2009 20:13:15 +0000 (16:13 -0400)]
move lttv to root
Pierre-Marc Fournier [Thu, 16 Jul 2009 19:41:33 +0000 (15:41 -0400)]
remove files unneeded for lttv
Pierre-Marc Fournier [Thu, 16 Jul 2009 19:36:35 +0000 (15:36 -0400)]
move everything out of trunk
Pierre-Marc Fournier [Thu, 16 Jul 2009 19:32:12 +0000 (15:32 -0400)]
convert from svn repository: remove tags directory
compudj [Wed, 15 Jul 2009 18:06:00 +0000 (18:06 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3416
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Wed, 15 Jul 2009 14:01:59 +0000 (14:01 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3415
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Mon, 13 Jul 2009 07:02:45 +0000 (07:02 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3414
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Mon, 13 Jul 2009 05:32:21 +0000 (05:32 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3413
04897980-b3bd-0310-b5e0-
8ef037075253
pmf [Fri, 10 Jul 2009 21:12:12 +0000 (21:12 +0000)]
update commands for new lttctl args
git-svn-id: http://ltt.polymtl.ca/svn@3412
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 9 Jul 2009 20:27:25 +0000 (20:27 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3411
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Tue, 7 Jul 2009 23:48:08 +0000 (23:48 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3410
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Wed, 1 Jul 2009 20:54:53 +0000 (20:54 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3409
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Wed, 1 Jul 2009 20:53:05 +0000 (20:53 +0000)]
remove warning
git-svn-id: http://ltt.polymtl.ca/svn@3408
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Mon, 22 Jun 2009 20:03:46 +0000 (20:03 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3407
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Fri, 19 Jun 2009 13:29:09 +0000 (13:29 +0000)]
update lttv
git-svn-id: http://ltt.polymtl.ca/svn@3406
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Fri, 19 Jun 2009 13:27:45 +0000 (13:27 +0000)]
fix file quit
git-svn-id: http://ltt.polymtl.ca/svn@3405
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Fri, 19 Jun 2009 12:40:29 +0000 (12:40 +0000)]
fix leak, enhance error values
git-svn-id: http://ltt.polymtl.ca/svn@3404
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Wed, 17 Jun 2009 17:32:02 +0000 (17:32 +0000)]
update manual
git-svn-id: http://ltt.polymtl.ca/svn@3403
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Tue, 16 Jun 2009 19:46:43 +0000 (19:46 +0000)]
update lttv to 0.12.15
git-svn-id: http://ltt.polymtl.ca/svn@3402
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Mon, 15 Jun 2009 20:46:47 +0000 (20:46 +0000)]
update test
git-svn-id: http://ltt.polymtl.ca/svn@3401
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Wed, 10 Jun 2009 17:03:55 +0000 (17:03 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3400
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Fri, 29 May 2009 01:08:00 +0000 (01:08 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3399
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 28 May 2009 19:30:00 +0000 (19:30 +0000)]
add ipi test
git-svn-id: http://ltt.polymtl.ca/svn@3398
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 28 May 2009 18:25:39 +0000 (18:25 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3397
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 28 May 2009 14:53:33 +0000 (14:53 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3396
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 21 May 2009 20:52:04 +0000 (20:52 +0000)]
update test
git-svn-id: http://ltt.polymtl.ca/svn@3395
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 21 May 2009 19:46:43 +0000 (19:46 +0000)]
update read lock test
git-svn-id: http://ltt.polymtl.ca/svn@3394
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 21 May 2009 19:10:43 +0000 (19:10 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3393
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 21 May 2009 19:06:20 +0000 (19:06 +0000)]
update rwlock
git-svn-id: http://ltt.polymtl.ca/svn@3392
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 21 May 2009 19:05:09 +0000 (19:05 +0000)]
update rwlock
git-svn-id: http://ltt.polymtl.ca/svn@3391
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 21 May 2009 18:56:50 +0000 (18:56 +0000)]
fix typo
git-svn-id: http://ltt.polymtl.ca/svn@3390
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 21 May 2009 18:50:22 +0000 (18:50 +0000)]
update test module
git-svn-id: http://ltt.polymtl.ca/svn@3389
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 21 May 2009 16:28:06 +0000 (16:28 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3388
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 21 May 2009 15:10:38 +0000 (15:10 +0000)]
update tests
git-svn-id: http://ltt.polymtl.ca/svn@3387
04897980-b3bd-0310-b5e0-
8ef037075253
pmf [Thu, 21 May 2009 03:57:43 +0000 (03:57 +0000)]
resourceview: fix stuck softirq and trap problem
git-svn-id: http://ltt.polymtl.ca/svn@3386
04897980-b3bd-0310-b5e0-
8ef037075253
pmf [Thu, 21 May 2009 03:57:42 +0000 (03:57 +0000)]
resourceview: add sanity check for irq exit event
git-svn-id: http://ltt.polymtl.ca/svn@3385
04897980-b3bd-0310-b5e0-
8ef037075253
pmf [Thu, 21 May 2009 03:10:51 +0000 (03:10 +0000)]
resourceview: fix stuck irq problem
git-svn-id: http://ltt.polymtl.ca/svn@3384
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Fri, 15 May 2009 12:41:19 +0000 (12:41 +0000)]
update compat and version
git-svn-id: http://ltt.polymtl.ca/svn@3383
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Fri, 15 May 2009 12:39:28 +0000 (12:39 +0000)]
Also fix irq and softirq in resourceview
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
git-svn-id: http://ltt.polymtl.ca/svn@3382
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Fri, 15 May 2009 12:35:29 +0000 (12:35 +0000)]
update version and compat
git-svn-id: http://ltt.polymtl.ca/svn@3381
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Fri, 15 May 2009 12:33:59 +0000 (12:33 +0000)]
Fix eventview trap handling
And here is the offending code :
eventhooks.c :
int before_execmode_hook_trap(void *hook_data, void *call_data)
if (tfc->tf->name != LTT_CHANNEL_KERNEL)
return 0;
minfo = marker_get_info_from_id(tfc->tf->mdata, e->event_id);
g_assert(minfo != NULL);
if (minfo->name == LTT_EVENT_TRAP_ENTRY
|| minfo->name == LTT_EVENT_PAGE_FAULT_ENTRY
|| minfo->name == LTT_EVENT_PAGE_FAULT_NOSEM_ENTRY) {
trap = ltt_event_get_long_unsigned(e, lttv_trace_get_hook_field(th, 0));
} else if (minfo->name == LTT_EVENT_TRAP_EXIT
|| minfo->name == LTT_EVENT_PAGE_FAULT_EXIT
|| minfo->name == LTT_EVENT_PAGE_FAULT_NOSEM_EXIT) {
trap = ts->cpu_states[cpu].last_trap;
} else
return 0;
guint trace_num = ts->parent.index;
/* Well, the process_out existed : we must get it in the process hash
* or add it, and draw its items.
*/
/* Add process to process list (if not present) */
guint pl_height = 0;
HashedResourceData *hashed_process_data = NULL;
ProcessList *process_list = resourceview_data->process_list;
hashed_process_data = resourcelist_obtain_trap(resourceview_data, trace_num, trap);
we end up calling resourcelist_obtain_trap() with a trap id of 0.
I bet the trace first has a trap exit event, without any prior trap
entry. Therefore, the last_trap is probably set to -1, which is used as
trap id.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
git-svn-id: http://ltt.polymtl.ca/svn@3380
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Sun, 10 May 2009 21:25:29 +0000 (21:25 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3379
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Sat, 9 May 2009 16:21:37 +0000 (16:21 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3378
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Wed, 6 May 2009 22:16:23 +0000 (22:16 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3377
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Sat, 2 May 2009 07:32:25 +0000 (07:32 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3376
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 30 Apr 2009 02:46:47 +0000 (02:46 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3375
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Wed, 29 Apr 2009 23:28:27 +0000 (23:28 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3374
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Wed, 29 Apr 2009 20:03:42 +0000 (20:03 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3373
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 23 Apr 2009 21:17:19 +0000 (21:17 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3372
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 23 Apr 2009 19:34:41 +0000 (19:34 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3371
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 23 Apr 2009 17:38:03 +0000 (17:38 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3370
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Sun, 19 Apr 2009 04:49:51 +0000 (04:49 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3369
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Sun, 19 Apr 2009 04:17:56 +0000 (04:17 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3368
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Tue, 7 Apr 2009 22:00:18 +0000 (22:00 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3367
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Tue, 7 Apr 2009 18:58:08 +0000 (18:58 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3366
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Mon, 6 Apr 2009 18:12:44 +0000 (18:12 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3365
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 2 Apr 2009 20:27:34 +0000 (20:27 +0000)]
update tests
git-svn-id: http://ltt.polymtl.ca/svn@3364
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Thu, 2 Apr 2009 06:35:26 +0000 (06:35 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3363
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Mon, 30 Mar 2009 06:16:45 +0000 (06:16 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3362
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Mon, 30 Mar 2009 05:51:57 +0000 (05:51 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3361
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Sun, 29 Mar 2009 00:30:46 +0000 (00:30 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3360
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Sat, 28 Mar 2009 23:49:48 +0000 (23:49 +0000)]
add tests
git-svn-id: http://ltt.polymtl.ca/svn@3359
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Sat, 28 Mar 2009 23:39:18 +0000 (23:39 +0000)]
update tests
git-svn-id: http://ltt.polymtl.ca/svn@3358
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Fri, 27 Mar 2009 17:52:33 +0000 (17:52 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3357
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Tue, 24 Mar 2009 16:23:45 +0000 (16:23 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3356
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Tue, 24 Mar 2009 16:23:21 +0000 (16:23 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3355
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Tue, 24 Mar 2009 03:12:42 +0000 (03:12 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3354
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Tue, 24 Mar 2009 00:03:46 +0000 (00:03 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3353
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Mon, 23 Mar 2009 18:46:47 +0000 (18:46 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3352
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Tue, 17 Mar 2009 01:49:43 +0000 (01:49 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3351
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Tue, 17 Mar 2009 00:57:00 +0000 (00:57 +0000)]
update cmpxchg test
git-svn-id: http://ltt.polymtl.ca/svn@3350
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Mon, 16 Mar 2009 19:42:52 +0000 (19:42 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3349
04897980-b3bd-0310-b5e0-
8ef037075253
compudj [Sat, 14 Mar 2009 16:20:44 +0000 (16:20 +0000)]
update compat
git-svn-id: http://ltt.polymtl.ca/svn@3348
04897980-b3bd-0310-b5e0-
8ef037075253
This page took 0.040257 seconds and 4 git commands to generate.