Mathieu Desnoyers [Wed, 18 Nov 2009 17:55:52 +0000 (12:55 -0500)]
update version
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
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>
Mathieu Desnoyers [Wed, 18 Nov 2009 16:52:39 +0000 (11:52 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Wed, 18 Nov 2009 15:53:54 +0000 (10:53 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Wed, 18 Nov 2009 05:37:38 +0000 (00:37 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Tue, 17 Nov 2009 21:57:22 +0000 (16:57 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
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>
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>
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>
Mathieu Desnoyers [Tue, 17 Nov 2009 03:28:00 +0000 (22:28 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Tue, 17 Nov 2009 02:36:17 +0000 (21:36 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Tue, 17 Nov 2009 02:20:01 +0000 (21:20 -0500)]
update version
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
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>
Mathieu Desnoyers [Mon, 16 Nov 2009 18:20:35 +0000 (13:20 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Sun, 15 Nov 2009 07:15:20 +0000 (02:15 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Sat, 14 Nov 2009 00:10:38 +0000 (19:10 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Fri, 13 Nov 2009 17:15:48 +0000 (12:15 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Fri, 13 Nov 2009 04:41:01 +0000 (23:41 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Fri, 13 Nov 2009 01:56:02 +0000 (20:56 -0500)]
Update version
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
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>
Mathieu Desnoyers [Thu, 12 Nov 2009 22:02:43 +0000 (17:02 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Tue, 10 Nov 2009 01:51:28 +0000 (20:51 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Mon, 9 Nov 2009 15:21:08 +0000 (10:21 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Tue, 3 Nov 2009 06:21:17 +0000 (01:21 -0500)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
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>
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.
Mathieu Desnoyers [Fri, 23 Oct 2009 18:23:12 +0000 (14:23 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Fri, 23 Oct 2009 13:47:58 +0000 (09:47 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
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>
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>
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>
Mathieu Desnoyers [Sun, 18 Oct 2009 23:31:23 +0000 (19:31 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Sat, 17 Oct 2009 22:14:20 +0000 (18:14 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
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>
Mathieu Desnoyers [Fri, 16 Oct 2009 14:36:34 +0000 (10:36 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Fri, 16 Oct 2009 14:34:45 +0000 (10:34 -0400)]
update version
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
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>
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>
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>
Mathieu Desnoyers [Fri, 9 Oct 2009 22:39:27 +0000 (18:39 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Benjamin Poirier [Thu, 8 Oct 2009 22:12:22 +0000 (18:12 -0400)]
Trivial fixes
Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Live session user [Thu, 8 Oct 2009 01:17:05 +0000 (01:17 +0000)]
Fix bad conversion bug about 64bits computer.
Pierre-Marc Fournier [Fri, 9 Oct 2009 20:56:58 +0000 (16:56 -0400)]
configure.ac: clean
William Bourque [Fri, 2 Oct 2009 18:35:54 +0000 (14:35 -0400)]
Handle "first event" better and fix for 64bits.
Mathieu Desnoyers [Tue, 6 Oct 2009 21:29:55 +0000 (17:29 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Mon, 5 Oct 2009 22:33:19 +0000 (18:33 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Sun, 4 Oct 2009 20:21:10 +0000 (16:21 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Thu, 1 Oct 2009 03:23:30 +0000 (23:23 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Pierre-Marc Fournier [Tue, 29 Sep 2009 17:58:04 +0000 (13:58 -0400)]
configure.ac: clean
William Bourque [Thu, 24 Sep 2009 19:17:22 +0000 (15:17 -0400)]
Changed a bad description for a compile flag.
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.
Pierre-Marc Fournier [Fri, 25 Sep 2009 02:38:12 +0000 (22:38 -0400)]
runlttv: use cmd line arguments instead of environment variables
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>
Pierre-Marc Fournier [Tue, 22 Sep 2009 19:22:13 +0000 (15:22 -0400)]
configure.ac: cleanup
William Bourque [Fri, 18 Sep 2009 18:15:38 +0000 (14:15 -0400)]
Fixed small bug about missing space in CFLAGS
William Bourque [Thu, 17 Sep 2009 18:35:01 +0000 (14:35 -0400)]
Fixed bug with "--disable-lttv-gui" flags.
William Bourque [Thu, 17 Sep 2009 16:02:04 +0000 (12:02 -0400)]
Added back JNI.
William Bourque [Thu, 17 Sep 2009 15:39:56 +0000 (11:39 -0400)]
Reimplemented build option into new repo.
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>
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.
Mathieu Desnoyers [Sat, 12 Sep 2009 19:21:48 +0000 (15:21 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu Desnoyers [Sat, 12 Sep 2009 17:27:22 +0000 (13:27 -0400)]
update compat
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Pierre-Marc Fournier [Tue, 1 Sep 2009 14:21:41 +0000 (10:21 -0400)]
runlttv: add textdump mode
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>
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
This page took 0.03914 seconds and 4 git commands to generate.