From 1bb8d3a57d6b5b26c696d8132e809763f371aa43 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 6 Dec 2006 22:47:44 +0000 Subject: [PATCH] fix git-svn-id: http://ltt.polymtl.ca/svn@2288 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/configure.in | 2 +- ltt/branches/poly/doc/developer/lttng-xen.txt | 7 ++-- ltt/branches/poly/lttv/lttv/state.c | 4 +-- .../modules/gui/tutorial/.deps/tutorial.Plo | 33 +++++++++++-------- 4 files changed, 27 insertions(+), 19 deletions(-) diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index d9d4ad7b..91bd5ffe 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -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 diff --git a/ltt/branches/poly/doc/developer/lttng-xen.txt b/ltt/branches/poly/doc/developer/lttng-xen.txt index 0c26a4bf..83a8066b 100644 --- a/ltt/branches/poly/doc/developer/lttng-xen.txt +++ b/ltt/branches/poly/doc/developer/lttng-xen.txt @@ -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 diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index 6aae5ad9..c9b2b5ca 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -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; diff --git a/ltt/branches/poly/lttv/modules/gui/tutorial/.deps/tutorial.Plo b/ltt/branches/poly/lttv/modules/gui/tutorial/.deps/tutorial.Plo index 1f9d0c42..7fd8cef9 100644 --- a/ltt/branches/poly/lttv/modules/gui/tutorial/.deps/tutorial.Plo +++ b/ltt/branches/poly/lttv/modules/gui/tutorial/.deps/tutorial.Plo @@ -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: -- 2.34.1