- new_m_window->traceset_info = g_new(TracesetInfo,1);
- new_m_window->traceset_info->path = NULL ;
-
-
- new_m_window->traceset_info->before_traceset = lttv_hooks_new();
- new_m_window->traceset_info->after_traceset = lttv_hooks_new();
- new_m_window->traceset_info->before_trace = lttv_hooks_new();
- new_m_window->traceset_info->after_trace = lttv_hooks_new();
- new_m_window->traceset_info->before_tracefile = lttv_hooks_new();
- new_m_window->traceset_info->after_tracefile = lttv_hooks_new();
- new_m_window->traceset_info->before_event = lttv_hooks_new();
- new_m_window->traceset_info->after_event = lttv_hooks_new();
-
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/traceset/before",
- LTTV_POINTER, &value));
- *(value.v_pointer) = new_m_window->traceset_info->before_traceset;
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/traceset/after",
- LTTV_POINTER, &value));
- *(value.v_pointer) = new_m_window->traceset_info->after_traceset;
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/trace/before",
- LTTV_POINTER, &value));
- *(value.v_pointer) = new_m_window->traceset_info->before_trace;
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/trace/after",
- LTTV_POINTER, &value));
- *(value.v_pointer) = new_m_window->traceset_info->after_trace;
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/tracefile/before",
- LTTV_POINTER, &value));
- *(value.v_pointer) = new_m_window->traceset_info->before_tracefile;
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/tracefile/after",
- LTTV_POINTER, &value));
- *(value.v_pointer) = new_m_window->traceset_info->after_tracefile;
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/event/before",
- LTTV_POINTER, &value));
- *(value.v_pointer) = new_m_window->traceset_info->before_event;
- g_assert(lttv_iattribute_find_by_path(attributes, "hooks/event/after",
- LTTV_POINTER, &value));
- *(value.v_pointer) = new_m_window->traceset_info->after_event;
-
-