+
+
+void lttv_hooks_print(const LttvHooks *h)
+{
+ LttvHookClosure *c;
+
+ guint i;
+
+ if(likely(h != NULL)) {
+ for(i = 0 ; i < h->len ; i++) {
+ c = &g_array_index(h, LttvHookClosure, i);
+ printf("%p:%i:%i,", c->hook, c->ref_count, c->prio);
+ }
+ printf("\n");
+ }
+
+}