+ //newSv->EventDB = NULL;
+ //newSv->SystemInfo = NULL;
+ //newSv->Options = NULL;
+ //newSv->Next = NULL;
+ //newSv->Window = newMWindow;
+
+ newMWindow->Attributes = attributes;
+
+ newMWindow->Traceset_Info = g_new(TracesetInfo,1);
+ newMWindow->Traceset_Info->path = NULL ;
+
+
+ newMWindow->Traceset_Info->before_traceset = lttv_hooks_new();
+ newMWindow->Traceset_Info->after_traceset = lttv_hooks_new();
+ newMWindow->Traceset_Info->before_trace = lttv_hooks_new();
+ newMWindow->Traceset_Info->after_trace = lttv_hooks_new();
+ newMWindow->Traceset_Info->before_tracefile = lttv_hooks_new();
+ newMWindow->Traceset_Info->after_tracefile = lttv_hooks_new();
+ newMWindow->Traceset_Info->before_event = lttv_hooks_new();
+ newMWindow->Traceset_Info->after_event = lttv_hooks_new();
+
+ g_assert(lttv_iattribute_find_by_path(attributes, "hooks/traceset/before",
+ LTTV_POINTER, &value));
+ *(value.v_pointer) = newMWindow->Traceset_Info->before_traceset;
+ g_assert(lttv_iattribute_find_by_path(attributes, "hooks/traceset/after",
+ LTTV_POINTER, &value));
+ *(value.v_pointer) = newMWindow->Traceset_Info->after_traceset;
+ g_assert(lttv_iattribute_find_by_path(attributes, "hooks/trace/before",
+ LTTV_POINTER, &value));
+ *(value.v_pointer) = newMWindow->Traceset_Info->before_trace;
+ g_assert(lttv_iattribute_find_by_path(attributes, "hooks/trace/after",
+ LTTV_POINTER, &value));
+ *(value.v_pointer) = newMWindow->Traceset_Info->after_trace;
+ g_assert(lttv_iattribute_find_by_path(attributes, "hooks/tracefile/before",
+ LTTV_POINTER, &value));
+ *(value.v_pointer) = newMWindow->Traceset_Info->before_tracefile;
+ g_assert(lttv_iattribute_find_by_path(attributes, "hooks/tracefile/after",
+ LTTV_POINTER, &value));
+ *(value.v_pointer) = newMWindow->Traceset_Info->after_tracefile;
+ g_assert(lttv_iattribute_find_by_path(attributes, "hooks/event/before",
+ LTTV_POINTER, &value));
+ *(value.v_pointer) = newMWindow->Traceset_Info->before_event;
+ g_assert(lttv_iattribute_find_by_path(attributes, "hooks/event/after",
+ LTTV_POINTER, &value));
+ *(value.v_pointer) = newMWindow->Traceset_Info->after_event;
+
+