fix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 6 Dec 2006 22:47:44 +0000 (22:47 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 6 Dec 2006 22:47:44 +0000 (22:47 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2288 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/configure.in
ltt/branches/poly/doc/developer/lttng-xen.txt
ltt/branches/poly/lttv/lttv/state.c
ltt/branches/poly/lttv/modules/gui/tutorial/.deps/tutorial.Plo

index d9d4ad7b6262ca5c0da16f5705db4fcbfe9c025a..91bd5ffe55e7242c2d14fb62b51a2f0a85ccc22c 100644 (file)
@@ -23,7 +23,7 @@
 AC_PREREQ(2.57)
 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
 #AC_WITH_LTDL  # not needed ?
-AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.71-13112006)
+AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.72-06122006)
 AM_CONFIG_HEADER(config.h)
 AM_PROG_LIBTOOL
 
index 0c26a4bf0bdad66486b0f6190b3f4682e0eb6e84..83a8066b4f3b422aa8dcbf45e40dd90a157c67cc 100644 (file)
@@ -22,18 +22,21 @@ Reader uses poll()-like mechanism instead of polling the buffers each 100ms.
 
 * Dom0 lttd-xen process
 
-Does an hypercall to map the buffers.
+Does an hypercall to map the buffers (increment refcount)
 Does an hypercall to poll for data, put to sleep by the OS.
 Uses write from the mapped buffers to a file.
+unmap buffer, decrement refcount.
 
 
 * Xen
 
 tb_control (hypercalls seen from dom0 OS)
+(hypercalls done by lttctl-xen)
 - trace_create
 Map a page for control information, return it for mapping by user space. (rw)
 Map multiple pages for buffers. return them for mapping by user space.
 (shared, read-only for consumer)
+increment refcount
 - trace_start
 Activate tracing in control information.
 - trace_stop
@@ -47,7 +50,7 @@ Quiescent state detection.
   for_each_domain( d )
     for_each_vcpu( d, v )
       vcpu_sleep_sync(v);
-destroy the channels
+decrement refcount : destroy the channels
 
 Events coming from xen :
 - Buffer switch
index 6aae5ad9e6658c7655d4a7f6e5b7f2824b67953c..c9b2b5ca1b7aac658413e28edd38c8574dd38133 100644 (file)
@@ -1956,7 +1956,7 @@ static gboolean irq_entry(void *hook_data, void *call_data)
   LttField *f = thf->f1;
 
   LttvExecutionSubmode submode;
-  guint64 irq = ltt_event_get_unsigned(e, f);
+  guint64 irq = ltt_event_get_long_unsigned(e, f);
   guint64 nb_irqs = ((LttvTraceState *)(s->parent.t_context))->nb_irqs;
   GString *string;
 
@@ -2006,7 +2006,7 @@ static gboolean soft_irq_entry(void *hook_data, void *call_data)
   LttField *f = thf->f1;
 
   LttvExecutionSubmode submode;
-  guint64 softirq = ltt_event_get_unsigned(e, f);
+  guint64 softirq = ltt_event_get_long_unsigned(e, f);
   guint64 nb_softirqs = ((LttvTraceState *)(s->parent.t_context))->nb_softirqs;
   GString *string;
 
index 1f9d0c42d8022f1d3066b81a115b75d894ce219c..7fd8cef9fa7519cb7f0073fe0f81e6a8bf59403e 100644 (file)
@@ -19,15 +19,16 @@ tutorial.lo tutorial.o: tutorial.c /usr/include/math.h \
   /usr/include/glib-2.0/glib/gerror.h /usr/include/glib-2.0/glib/gquark.h \
   /usr/include/glib-2.0/glib/gatomic.h \
   /usr/include/glib-2.0/glib/gbacktrace.h \
+  /usr/include/glib-2.0/glib/gbase64.h \
+  /usr/include/glib-2.0/glib/gbookmarkfile.h /usr/include/time.h \
+  /usr/include/bits/time.h /usr/include/bits/types.h \
+  /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h \
   /usr/include/glib-2.0/glib/gcache.h /usr/include/glib-2.0/glib/glist.h \
   /usr/include/glib-2.0/glib/gmem.h /usr/include/glib-2.0/glib/gslice.h \
   /usr/include/glib-2.0/glib/gcompletion.h \
   /usr/include/glib-2.0/glib/gconvert.h \
   /usr/include/glib-2.0/glib/gdataset.h \
-  /usr/include/glib-2.0/glib/gdate.h /usr/include/time.h \
-  /usr/include/bits/time.h /usr/include/bits/types.h \
-  /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h \
-  /usr/include/glib-2.0/glib/gdir.h \
+  /usr/include/glib-2.0/glib/gdate.h /usr/include/glib-2.0/glib/gdir.h \
   /usr/include/glib-2.0/glib/gfileutils.h \
   /usr/include/glib-2.0/glib/ghash.h /usr/include/glib-2.0/glib/ghook.h \
   /usr/include/glib-2.0/glib/giochannel.h \
@@ -390,6 +391,20 @@ tutorial.lo tutorial.o: tutorial.c /usr/include/math.h \
 
 /usr/include/glib-2.0/glib/gbacktrace.h:
 
+/usr/include/glib-2.0/glib/gbase64.h:
+
+/usr/include/glib-2.0/glib/gbookmarkfile.h:
+
+/usr/include/time.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/bits/typesizes.h:
+
 /usr/include/glib-2.0/glib/gcache.h:
 
 /usr/include/glib-2.0/glib/glist.h:
@@ -406,16 +421,6 @@ tutorial.lo tutorial.o: tutorial.c /usr/include/math.h \
 
 /usr/include/glib-2.0/glib/gdate.h:
 
-/usr/include/time.h:
-
-/usr/include/bits/time.h:
-
-/usr/include/bits/types.h:
-
-/usr/include/bits/wordsize.h:
-
-/usr/include/bits/typesizes.h:
-
 /usr/include/glib-2.0/glib/gdir.h:
 
 /usr/include/glib-2.0/glib/gfileutils.h:
This page took 0.049969 seconds and 4 git commands to generate.