print.c: complain when trying to print a LTT_TYPE_COMPACT field
[lttv.git] / ltt / branches / poly / lttv / lttv / tracecontext.h
index be9a951444110c4abe54ad9f2f8f0eebd3a9b295..af65046378cdc819394fe96c7cdc1c8bd1f4160f 100644 (file)
@@ -272,21 +272,19 @@ void lttv_tracefile_context_add_hooks_by_id(LttvTracefileContext *self,
 void lttv_tracefile_context_remove_hooks_by_id(LttvTracefileContext *self,
                                               unsigned i);
 
-/* A LttvTraceHook has two arrays of LttvTraceHookByFacility,
- * indexed by facility ID and a simple array used to walk all the hooks */
 typedef struct _LttvTraceHook {
   LttvHook h;
-  guint id;
-  LttField *f1;
-  LttField *f2;
-  LttField *f3;
+  guint id;  /* id of the event associated with this hook */
+  struct marker_field *f1;
+  struct marker_field *f2;
+  struct marker_field *f3;
   gpointer hook_data;
-} LttvTraceHookByFacility;
+} LttvTraceHook;
 
 
 /* Get the head of marker list correcponding to the given trace hook.
  */
-struct marker_info *lttv_trace_hook_get_marker(LttvTraceHook *th);
+struct marker_info *lttv_trace_hook_get_marker(LttTrace *t, LttvTraceHook *th);
 
 void lttv_trace_hook_destroy(LttvTraceHook *th);
 
This page took 0.023672 seconds and 4 git commands to generate.