add process names
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / processlist.h
index 1de9b09a0dac4947f8b31057f1238cccad00fbfe..f5844a11cea9d4fa408b29dee9b6ff2b2d6a91b4 100644 (file)
@@ -132,13 +132,18 @@ void processlist_clear(ProcessList *process_list);
 /* CPU num is only used for PID 0 */
 int processlist_add(ProcessList *process_list, Drawing_t * drawing, 
     guint pid, guint cpu, guint ppid,
-    LttTime *birth, guint trace_num, const gchar *name, guint *height,
+    LttTime *birth, guint trace_num, GQuark name, guint *height,
     ProcessInfo **process_info,
     HashedProcessData **hashed_process_data);
 // out : success (0) and height
 int processlist_remove(ProcessList *process_list, guint pid, guint cpu, 
     LttTime *birth, guint trace_num);
 
+/* Set the name of a process */
+void processlist_set_name(ProcessList *process_list,
+    GQuark name,
+    HashedProcessData *hashed_process_data);
+
 
 /* Synchronize the list at the left and the drawing */
 void update_index_to_pixmap(ProcessList *process_list);
This page took 0.034994 seconds and 4 git commands to generate.