]> git.lttng.org Git - lttv.git/log
lttv.git
14 years agoRevert "sync frequency of all traces with the first loaded"
Benjamin Poirier [Mon, 31 Aug 2009 21:11:13 +0000 (17:11 -0400)] 
Revert "sync frequency of all traces with the first loaded"

This reverts commit 9c731a505cf0d0ded02f8e90a823fa90084c7740.

Conflicts:

ltt/branches/poly/ltt/tracefile.c

14 years agoupdate compat
Mathieu Desnoyers [Wed, 16 Dec 2009 22:38:30 +0000 (17:38 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
14 years agoupdate version
Mathieu Desnoyers [Wed, 16 Dec 2009 22:35:13 +0000 (17:35 -0500)] 
update version

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
14 years agoupdate compat
Mathieu Desnoyers [Wed, 16 Dec 2009 22:33:45 +0000 (17:33 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
14 years agoupdate compat
Mathieu Desnoyers [Wed, 16 Dec 2009 21:23:28 +0000 (16:23 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
14 years agoTemporary fix for large IRQ tables
Mathieu Desnoyers [Tue, 15 Dec 2009 18:50:40 +0000 (13:50 -0500)] 
Temporary fix for large IRQ tables

IRQ tables, trap tables and softirq tables can grow. The copy mechanism for
these is not correct when saving/restoring state, because it uses always the
name table size (which grows) to copy the saved/restored state snapshots.

We should change the g_new allocations for g_arrays, and use the array length as
boundary for the copy rather than the name table len.

TODO / FIXME !

I currently increased the initial irq name table size to 512 to deal correctly
with ARM. This is a dumb temporary fix.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Fri, 4 Dec 2009 16:13:29 +0000 (11:13 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Fri, 4 Dec 2009 15:59:33 +0000 (10:59 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Tue, 1 Dec 2009 12:04:38 +0000 (07:04 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Fri, 27 Nov 2009 17:43:40 +0000 (12:43 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate version
Mathieu Desnoyers [Fri, 27 Nov 2009 17:33:55 +0000 (12:33 -0500)] 
update version

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agostate.c coding style fix
Mathieu Desnoyers [Fri, 27 Nov 2009 17:33:24 +0000 (12:33 -0500)] 
state.c coding style fix

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agowakeup wait for cpu display
Chris Smowton [Fri, 27 Nov 2009 17:18:31 +0000 (12:18 -0500)] 
wakeup wait for cpu display

Here's a slightly more constructive patch: this one adds support in
LTTV's generic state monitoring code and its control flow visualiser to
note when a process is woken by another process using the
sched_try_wakeup event.

Previously the woken process would continue to register its old state
until such time as it got scheduled; here the process transitions to
WAIT_CPU state (like preempted processes, indicating it is ready to run
but not currently scheduled). Ordinarily we see this state exist very
briefly, in between the device driver IRQ (typically) clearing it to run
and the scheduler invocation after irq_exit, but on a heavily loaded
system we might see a large stripe of dark yellow indicating the process
is ready but cannot yet be allocated a core.

The new code in controlflow/eventhooks.c is essentially a copy of the
second half of before_schedchange -- it would be nice to factor these
two and before_execmode, all of which basically identify a process,
create state objects if necessary, and draw his line up to a certain
time.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Mon, 23 Nov 2009 04:52:20 +0000 (23:52 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Mon, 23 Nov 2009 01:09:46 +0000 (20:09 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Thu, 19 Nov 2009 05:46:33 +0000 (00:46 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agomake lttv runnable from anywhere
Pierre-Marc Fournier [Wed, 18 Nov 2009 19:35:46 +0000 (14:35 -0500)] 
make lttv runnable from anywhere

Icons however can't be found when they are not installed and runlttv
is run from an arbitrary directory.

15 years agoAdd pixmaps shortcut
Benjamin Poirier [Mon, 9 Nov 2009 18:27:25 +0000 (13:27 -0500)] 
Add pixmaps shortcut

This shortcut is used by runlttv

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agoFix help text
Benjamin Poirier [Mon, 9 Nov 2009 18:27:46 +0000 (13:27 -0500)] 
Fix help text

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agoIgnore configure.lineno
Benjamin Poirier [Mon, 9 Nov 2009 18:26:30 +0000 (13:26 -0500)] 
Ignore configure.lineno

Generated by autoconf in shells that lack $LINENO

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Wed, 18 Nov 2009 17:57:01 +0000 (12:57 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate version
Mathieu Desnoyers [Wed, 18 Nov 2009 17:55:52 +0000 (12:55 -0500)] 
update version

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoLTTV trace control bug fix
Chris Smowton [Wed, 18 Nov 2009 17:49:12 +0000 (12:49 -0500)] 
LTTV trace control bug fix

Chris Smowton <cs448@cam.ac.uk>:

...whenever I tried
to start a trace using the GUI, it would freeze consuming 100% CPU after
I clicked "start". Turned out this was because in tracecontrol.c's
start_clicked callback, you poll(2) on an FD and use a switch()
statement to handle its return.

Unfortunately, poll(2) doesn't work that way -- it returns a *mask* of
bits, not a single value. Here poll was returning POLLIN | POLLHUP to
indicate there's data ready and the FD has been closed by the other
side, and since this != POLLIN and != POLLHUP, the poll loop spins
forever.

Attached is a patch to be applied to tracecontrol.c which fixes it to
check for set-bits instead. It's still strictly broken, as the read(fd,
buf, 256) call might not fully drain the child's output, but it's a step
in the right direction and means I can at least use the trace-control
thing.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Wed, 18 Nov 2009 16:52:39 +0000 (11:52 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Wed, 18 Nov 2009 15:53:54 +0000 (10:53 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Wed, 18 Nov 2009 05:37:38 +0000 (00:37 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Tue, 17 Nov 2009 21:57:22 +0000 (16:57 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoFix variable sized sb, update version
Mathieu Desnoyers [Tue, 17 Nov 2009 21:35:57 +0000 (16:35 -0500)] 
Fix variable sized sb, update version

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoFix alignment modification
Mathieu Desnoyers [Tue, 17 Nov 2009 19:28:13 +0000 (14:28 -0500)] 
Fix alignment modification

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoSupport variable sized subbuffers
Mathieu Desnoyers [Tue, 17 Nov 2009 19:24:42 +0000 (14:24 -0500)] 
Support variable sized subbuffers

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Tue, 17 Nov 2009 03:28:00 +0000 (22:28 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Tue, 17 Nov 2009 02:36:17 +0000 (21:36 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate version traceformat-2.4 v0.12.21
Mathieu Desnoyers [Tue, 17 Nov 2009 02:20:01 +0000 (21:20 -0500)] 
update version

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoUpdate trace format to 2.4
Mathieu Desnoyers [Mon, 16 Nov 2009 21:47:21 +0000 (16:47 -0500)] 
Update trace format to 2.4

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Mon, 16 Nov 2009 18:20:35 +0000 (13:20 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Sun, 15 Nov 2009 07:15:20 +0000 (02:15 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Sat, 14 Nov 2009 00:10:38 +0000 (19:10 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Fri, 13 Nov 2009 17:15:48 +0000 (12:15 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Fri, 13 Nov 2009 04:41:01 +0000 (23:41 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoUpdate version v0.12.20
Mathieu Desnoyers [Fri, 13 Nov 2009 01:56:02 +0000 (20:56 -0500)] 
Update version

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoChange __SIZEOF_LONG__ for __WORDSIZE
Mathieu Desnoyers [Thu, 12 Nov 2009 22:43:31 +0000 (17:43 -0500)] 
Change __SIZEOF_LONG__ for __WORDSIZE

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Thu, 12 Nov 2009 22:02:43 +0000 (17:02 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Tue, 10 Nov 2009 01:51:28 +0000 (20:51 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Mon, 9 Nov 2009 15:21:08 +0000 (10:21 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Tue, 3 Nov 2009 06:21:17 +0000 (01:21 -0500)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoRemove bashisms in runlttv
Benjamin Poirier [Thu, 29 Oct 2009 20:22:20 +0000 (16:22 -0400)] 
Remove bashisms in runlttv

Found using 'checkbashisms'

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agoput a little sanity in pixmap installation
Pierre-Marc Fournier [Mon, 19 Oct 2009 21:58:39 +0000 (17:58 -0400)] 
put a little sanity in pixmap installation

This makes pixmaps uninstall correctly and puts them in DATADIR/pixmaps/lttv.

15 years agoupdate compat
Mathieu Desnoyers [Fri, 23 Oct 2009 18:23:12 +0000 (14:23 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Fri, 23 Oct 2009 13:47:58 +0000 (09:47 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoFix shady indentation
Benjamin Poirier [Mon, 19 Oct 2009 19:33:04 +0000 (15:33 -0400)] 
Fix shady indentation

What are you trying to hide?

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agoFix use after free of "filter/expression" attribute
Benjamin Poirier [Mon, 19 Oct 2009 19:33:03 +0000 (15:33 -0400)] 
Fix use after free of "filter/expression" attribute

As evidenced by Valgrind:
 Invalid read of size 4
    at 0x402E248: process_traceset (batchAnalysis.c:103)
    by 0x80558E5: lttv_hooks_call (hook.c:272)
    by 0x8053596: main (main.c:219)
  Address 0x4cea1b8 is 88 bytes inside a block of size 256 free'd
    at 0x4024D47: realloc (vg_replace_malloc.c:476)
[...]
    by 0x402E204: process_traceset (batchAnalysis.c:97)
    by 0x80558E5: lttv_hooks_call (hook.c:272)
    by 0x8053596: main (main.c:219)

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agoMove "active" code out of debug statements
Benjamin Poirier [Mon, 19 Oct 2009 19:33:02 +0000 (15:33 -0400)] 
Move "active" code out of debug statements

Certain g_assert() statements contained expressions that modify the rest of
the program state (eg. modifying variables). As stated in the GLib reference,
g_assert() is a macro that can be compiled out. This would change the behavior
of an otherwise correct lttv.

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Sun, 18 Oct 2009 23:31:23 +0000 (19:31 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Sat, 17 Oct 2009 22:14:20 +0000 (18:14 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoAdd headers to makefiles, fixing make dist
Mathieu Desnoyers [Sat, 17 Oct 2009 22:12:49 +0000 (18:12 -0400)] 
Add headers to makefiles, fixing make dist

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Fri, 16 Oct 2009 14:36:34 +0000 (10:36 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate version
Mathieu Desnoyers [Fri, 16 Oct 2009 14:34:45 +0000 (10:34 -0400)] 
update version

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoFix name table expend in state.c
Mathieu Desnoyers [Fri, 16 Oct 2009 14:33:12 +0000 (10:33 -0400)] 
Fix name table expend in state.c

Actually, looking back at state.c, I noticed there was a major problem
with name table resizing:

the top level pointers were copied from the name table structure to the
trace context, so when the tables were resized, the trace context was
not updated and still refered to the old tables. This is why we could
not free the old tables upon resizing.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoUpdate lttng manual for new tracepoint.txt location
Mathieu Desnoyers [Thu, 15 Oct 2009 21:20:45 +0000 (17:20 -0400)] 
Update lttng manual for new tracepoint.txt location

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agorunlttv: Add options to specify LTTV options
Benjamin Poirier [Fri, 25 Sep 2009 19:44:07 +0000 (15:44 -0400)] 
runlttv: Add options to specify LTTV options

It is possible, from .runlttvrc:
* to modify the list of modules loaded in text mode or in graphical mode while
  still honoring the mode specified in the runlttv command line
* to change the default mode while still honoring the mode specified in the
  runlttv command line

from the command line or .runlttvrc:
* force the mode
* specify traces
* specify options that go before (eg. -v) or after (eg. -h) the list of
  modules

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Fri, 9 Oct 2009 22:39:27 +0000 (18:39 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoTrivial fixes
Benjamin Poirier [Thu, 8 Oct 2009 22:12:22 +0000 (18:12 -0400)] 
Trivial fixes

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agoFix bad conversion bug about 64bits computer.
Live session user [Thu, 8 Oct 2009 01:17:05 +0000 (01:17 +0000)] 
Fix bad conversion bug about 64bits computer.

15 years agoconfigure.ac: clean
Pierre-Marc Fournier [Fri, 9 Oct 2009 20:56:58 +0000 (16:56 -0400)] 
configure.ac: clean

15 years agoHandle "first event" better and fix for 64bits.
William Bourque [Fri, 2 Oct 2009 18:35:54 +0000 (14:35 -0400)] 
Handle "first event" better and fix for 64bits.

15 years agoupdate compat
Mathieu Desnoyers [Tue, 6 Oct 2009 21:29:55 +0000 (17:29 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Mon, 5 Oct 2009 22:33:19 +0000 (18:33 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Sun, 4 Oct 2009 20:21:10 +0000 (16:21 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Thu, 1 Oct 2009 03:23:30 +0000 (23:23 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoconfigure.ac: clean
Pierre-Marc Fournier [Tue, 29 Sep 2009 17:58:04 +0000 (13:58 -0400)] 
configure.ac: clean

15 years agoChanged a bad description for a compile flag.
William Bourque [Thu, 24 Sep 2009 19:17:22 +0000 (15:17 -0400)] 
Changed a bad description for a compile flag.

15 years agoChanged the same of some flags to use "--with" for all of them.
William Bourque [Thu, 24 Sep 2009 18:54:21 +0000 (14:54 -0400)] 
Changed the same of some flags to use "--with" for all of them.

15 years agorunlttv: use cmd line arguments instead of environment variables
Pierre-Marc Fournier [Fri, 25 Sep 2009 02:38:12 +0000 (22:38 -0400)] 
runlttv: use cmd line arguments instead of environment variables

15 years agorunlttv: Specify path of .runlttvrc
Benjamin Poirier [Tue, 22 Sep 2009 19:39:09 +0000 (15:39 -0400)] 
runlttv: Specify path of .runlttvrc

Use the path of the runlttv script to source .runlttvrc. This allows using
runlttv from a directory other than the one where .runlttvrc resides.

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agoconfigure.ac: cleanup
Pierre-Marc Fournier [Tue, 22 Sep 2009 19:22:13 +0000 (15:22 -0400)] 
configure.ac: cleanup

15 years agoFixed small bug about missing space in CFLAGS
William Bourque [Fri, 18 Sep 2009 18:15:38 +0000 (14:15 -0400)] 
Fixed small bug about missing space in CFLAGS

15 years agoFixed bug with "--disable-lttv-gui" flags.
William Bourque [Thu, 17 Sep 2009 18:35:01 +0000 (14:35 -0400)] 
Fixed bug with "--disable-lttv-gui" flags.

15 years agoAdded back JNI.
William Bourque [Thu, 17 Sep 2009 16:02:04 +0000 (12:02 -0400)] 
Added back JNI.

15 years agoReimplemented build option into new repo.
William Bourque [Thu, 17 Sep 2009 15:39:56 +0000 (11:39 -0400)] 
Reimplemented build option into new repo.

15 years agoFix use after free of name_tables
Benjamin Poirier [Mon, 24 Aug 2009 13:21:54 +0000 (09:21 -0400)] 
Fix use after free of name_tables

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agotracefile.c: check that timestamp seconds do not overflow an unsigned int
Pierre-Marc Fournier [Wed, 16 Sep 2009 04:38:24 +0000 (00:38 -0400)] 
tracefile.c: check that timestamp seconds do not overflow an unsigned int

If it does, there will be display problems.

15 years agoupdate compat
Mathieu Desnoyers [Sat, 12 Sep 2009 19:21:48 +0000 (15:21 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoupdate compat
Mathieu Desnoyers [Sat, 12 Sep 2009 17:27:22 +0000 (13:27 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agorunlttv: add textdump mode
Pierre-Marc Fournier [Tue, 1 Sep 2009 14:21:41 +0000 (10:21 -0400)] 
runlttv: add textdump mode

15 years agoDo not initialize times before the frequency has been read
Benjamin Poirier [Mon, 24 Aug 2009 13:23:47 +0000 (09:23 -0400)] 
Do not initialize times before the frequency has been read

Do not calculate bogus begin and end values. Instead, skip that section of
code until the trace header has been read.

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
15 years agolttv: Add option for "massif" heap profiling tool
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>
15 years agolttv: Change "dbg" option in runlttv
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>
15 years agolttv: Extra arguments in runlttv
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>
15 years agoupdate compat
Mathieu Desnoyers [Wed, 19 Aug 2009 03:02:42 +0000 (23:02 -0400)] 
update compat

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
15 years agoUpdate manual for ldconfig
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>
15 years agoadd fsm checker by Gabriel Matni
Gabriel Matni [Fri, 14 Aug 2009 19:04:11 +0000 (15:04 -0400)] 
add fsm checker by Gabriel Matni

15 years agorunlttv: improvements
Pierre-Marc Fournier [Wed, 12 Aug 2009 02:37:22 +0000 (22:37 -0400)] 
runlttv: improvements

15 years agorename configure.in => configure.ac
Pierre-Marc Fournier [Wed, 12 Aug 2009 02:32:25 +0000 (22:32 -0400)] 
rename configure.in => configure.ac

15 years agolttv: Look for executable in run script
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>
15 years agolttv: Fix configure arguments
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>
15 years agolttv: Clean up library handling in the build system
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>
15 years agoRemove some duplicate code in the build system
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>
15 years agodepanalysis: fix segfault that occurs with -O2
Pierre-Marc Fournier [Mon, 10 Aug 2009 16:58:32 +0000 (12:58 -0400)] 
depanalysis: fix segfault that occurs with -O2

15 years agorunlttv: change valgrind args to give more details
Pierre-Marc Fournier [Mon, 10 Aug 2009 16:27:40 +0000 (12:27 -0400)] 
runlttv: change valgrind args to give more details

15 years agoinitialize fields of LttTrace to ensure deterministic behavior and that valgrid does...
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

This page took 0.044483 seconds and 4 git commands to generate.