-/traces/path_to_trace/LttvBackgroundComputation
-/traces/path_to_trace/TraceState/... hooks to add to background computation
- in_progress and ready flags.
-
-struct _LttvBackgroundComputation {
- GSList *events_requests;
- /* A GSList * to the first events request of background computation for a
- * trace. */
- LttvTraceset *ts;
- /* A factice traceset that contains just one trace */
- LttvTracesetContext *tsc;
- /* The traceset context that reads this trace */
-}
-
+ In the LttvTrace attributes :
+ state/
+ saved_states/
+ statistics/
+ modes/
+ cpu/
+ processes/
+ modulename1/
+ modulename2/
+ ...
+ computation/ /* Trace specific background computation hooks status */
+ state/
+ in_progress
+ ready
+ stats/
+ in_progress
+ ready
+ modulename1/
+ in_progress
+ ready
+ requests_queue/ /* Background computation requests */
+ requests_current/ /* Type : BackgroundRequest */
+ notify_queue/
+ notify_current/
+ computation_traceset/
+ computation_traceset_context/
+
+
+computation/ /* Global background computation hooks */
+ state/
+ before_chunk_traceset
+ before_chunk_trace
+ before_chunk_tracefile
+ after_...
+ before_request
+ after_request
+ event_hook
+ event_hook_by_id
+ hook_adder
+ hook_remover
+ stats/
+ ...
+ modulename1/
+ ...
+
+Hook Adder and Hook remover
+
+Hook functions that takes a trace context as call data. They simply
+add / remove the computation related hooks from the trace context.