update version
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 18 Dec 2008 13:54:37 +0000 (13:54 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 18 Dec 2008 13:54:37 +0000 (13:54 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3187 04897980-b3bd-0310-b5e0-8ef037075253

trunk/lttv/configure.in
trunk/lttv/doc/developer/lttng-lttv-compatibility.html
trunk/lttv/ltt/marker.c

index d73e1f0691fa59aaeafc0045a909ae3ba0647e52..a86500b4c64f73874a054282caea080323bd86c5 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(lttv,0.12.3-17122008)
+AM_INIT_AUTOMAKE(lttv,0.12.4-18122008)
 AM_CONFIG_HEADER(config.h)
 AM_PROG_LIBTOOL
 
index f7497ebc99e508082d5a4fdb2287d2dc32fc5130..ddb0ade86efc862a20fea2ea77c8e71a12afb614 100644 (file)
@@ -3214,6 +3214,7 @@ powerpc64, s390, sparc, sparc64.<br>
 0.12.1<br>
 0.12.2<br>
 0.12.3<br>
+0.12.4<br>
 </td>
 <td style="vertical-align: top;">
 0.65<br>
@@ -3249,6 +3250,7 @@ ltt-control 0.61 changes the command line arguments. See updated QUICKSTART.<br>
 LTTng 0.68 implements /mnt/debugfs/ltt/write_event for basic userspace tracing.<br>
 LTTV 0.12.3 updates the filter for channel_name.event_name, adds channel.name=
 support and event.subname= support.<br>
+LTTV 0.12.4 fixes marker support so it handles disabled channels.<br>
 </td>
 <td style="vertical-align: top;">
 </td>
index 89f47be071de9a9c0b903c206fa2630b77883cc3..07b5c08efe41a0b17873cf6f552bb277be5c0fe1 100644 (file)
@@ -431,6 +431,8 @@ int marker_format_event(LttTrace *trace, GQuark channel, GQuark name,
   GArray *group;
 
   group = g_datalist_id_get_data(&trace->tracefiles, channel);
+  if (!group)
+    return -ENOENT;
   g_assert(group->len > 0);
   mdata = g_array_index (group, LttTracefile, 0).mdata;
 
@@ -471,6 +473,8 @@ int marker_id_event(LttTrace *trace, GQuark channel, GQuark name, guint16 id,
     g_quark_to_string(name), id);
 
   group = g_datalist_id_get_data(&trace->tracefiles, channel);
+  if (!group)
+    return -ENOENT;
   g_assert(group->len > 0);
   mdata = g_array_index (group, LttTracefile, 0).mdata;
 
This page took 0.027854 seconds and 4 git commands to generate.