value = lttv_attribute_add(attribute,
LTTV_NOTIFY_CURRENT,
LTTV_POINTER);
-
}
/* Remove a trace from the global attributes */
if(trace == NULL)
return FALSE;
+
+ if(lttvwindow_preempt_count > 0) return TRUE;
attribute = lttv_trace_attribute(trace);
&value);
g_assert(type == LTTV_POINTER);
LttvHooks *after_request = (LttvHooks*)*(value.v_pointer);
-
- if(after_request != NULL) lttv_hooks_call(after_request, tsc);
+ {
+ struct sum_traceset_closure t_closure;
+ t_closure.tss = (LttvTracesetStats*)tsc;
+ t_closure.current_time = ltt_time_infinite;
+ if(after_request != NULL) lttv_hooks_call(after_request,
+ &t_closure);
+ }
if(bg_req->dialog != NULL)
gtk_widget_destroy(bg_req->dialog);