X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fcontrolflow%2Fprocesslist.h;h=f5844a11cea9d4fa408b29dee9b6ff2b2d6a91b4;hb=f4b88a7dd49bfb6b88ea579410d7e4b59faaf73c;hp=1de9b09a0dac4947f8b31057f1238cccad00fbfe;hpb=2da616770cf1e686eafdca9f2b155826ad94ee46;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h index 1de9b09a..f5844a11 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h @@ -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);