batchtest.c: fix save_state_copy_event()
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 22:01:20 +0000 (22:01 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 22:01:20 +0000 (22:01 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2637 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/batchtest.c

index ba4e00a96750972b25655a87521623039d34835c..2adf742e335039f9fff989933c0ca02105080ad3 100644 (file)
@@ -228,8 +228,10 @@ gboolean save_state_copy_event(void *hook_data, void *call_data)
 
   FILE *fp;
 
+  LttTrace *trace = ((LttvTracefileContext *)tfs)->t_context->t;
+
   if(ts->nb_event == 0 && 
-      ltt_eventtype_name(ltt_event_eventtype(e)) 
+      marker_get_info_from_id(trace, e->event_id)->name
                             == QUARK_BLOCK_START) {
     if(a_save_sample != NULL) {
       filename = g_string_new("");
This page took 0.024384 seconds and 4 git commands to generate.