convert from svn repository: remove tags directory
[lttv.git] / trunk / lttv / lttv / modules / gui / controlflow / drawing.c
index cde87124dd71e0791c23aa3a395bacc0acc861c0..3d74b502043d2797e3b5f3c6bb8d4d85495bd080 100644 (file)
@@ -253,6 +253,38 @@ void drawing_data_request(Drawing_t *drawing,
           events_request,
           &hooks);
 
+      lttv_trace_find_hook(ts->parent.t,
+          LTT_CHANNEL_KERNEL,
+          LTT_EVENT_PAGE_FAULT_ENTRY,
+          FIELD_ARRAY(LTT_FIELD_TRAP_ID),
+          before_execmode_hook,
+          events_request,
+          &hooks);
+
+      lttv_trace_find_hook(ts->parent.t,
+          LTT_CHANNEL_KERNEL,
+          LTT_EVENT_PAGE_FAULT_EXIT,
+          NULL, 
+          before_execmode_hook,
+          events_request,
+          &hooks);
+
+      lttv_trace_find_hook(ts->parent.t,
+          LTT_CHANNEL_KERNEL,
+          LTT_EVENT_PAGE_FAULT_NOSEM_ENTRY,
+          FIELD_ARRAY(LTT_FIELD_TRAP_ID),
+          before_execmode_hook,
+          events_request,
+          &hooks);
+
+      lttv_trace_find_hook(ts->parent.t,
+          LTT_CHANNEL_KERNEL,
+          LTT_EVENT_PAGE_FAULT_NOSEM_EXIT,
+          NULL, 
+          before_execmode_hook,
+          events_request,
+          &hooks);
+
       lttv_trace_find_hook(ts->parent.t,
           LTT_CHANNEL_KERNEL,
           LTT_EVENT_IRQ_ENTRY,
@@ -431,7 +463,7 @@ static void set_last_start(gpointer key, gpointer value, gpointer user_data)
 {
   ProcessInfo *process_info = (ProcessInfo*)key;
   HashedProcessData *hashed_process_data = (HashedProcessData*)value;
-  guint x = (guint)user_data;
+  guint x = GPOINTER_TO_UINT(user_data);
 
   hashed_process_data->x.over = x;
   hashed_process_data->x.over_used = FALSE;
@@ -467,7 +499,7 @@ void drawing_data_request_begin(EventsRequest *events_request, LttvTracesetState
           &x);
 
   g_hash_table_foreach(cfd->process_list->process_hash, set_last_start,
-                            (gpointer)x);
+                      GUINT_TO_POINTER(x));
 
 }
 
This page took 0.023537 seconds and 4 git commands to generate.