gpointer user_data)
{
gchar *a_name;
- gchar *a_brand;
guint a_pid, a_tgid, a_ppid, a_cpu;
gulong a_birth_s, a_birth_ns;
guint a_trace;
gchar *b_name;
- gchar *b_brand;
guint b_pid, b_tgid, b_ppid, b_cpu;
gulong b_birth_s, b_birth_ns;
guint b_trace;
gtk_tree_model_get(model,
it_a,
PROCESS_COLUMN, &a_name,
- BRAND_COLUMN, &a_brand,
PID_COLUMN, &a_pid,
TGID_COLUMN, &a_tgid,
PPID_COLUMN, &a_ppid,
gtk_tree_model_get(model,
it_b,
PROCESS_COLUMN, &b_name,
- BRAND_COLUMN, &b_brand,
PID_COLUMN, &b_pid,
TGID_COLUMN, &b_tgid,
PPID_COLUMN, &b_ppid,
ret = FALSE;
if(likely((pa->pid == 0 && (pa->cpu != pb->cpu))))
ret = FALSE;
- if(unlikely(ltt_time_compare(pa->birth, pb->birth) != 0))
- ret = FALSE;
+ //TODO ybrosseau 2012-09-18 Check if we want to reenable birth comparision
+ // We currently do not have valid birth info, so don't compare it
+ /* if(unlikely(ltt_time_compare(pa->birth, pb->birth) != 0))
+ ret = FALSE;*/
if(unlikely(pa->trace_num != pb->trace_num))
ret = FALSE;
/* Create the Process list */
process_list->list_store = gtk_list_store_new ( N_COLUMNS,
- G_TYPE_STRING,
G_TYPE_STRING,
G_TYPE_UINT,
G_TYPE_UINT,
process_list->button = column->button;
- column = gtk_tree_view_column_new_with_attributes ( "Brand",
- renderer,
- "text",
- BRAND_COLUMN,
- NULL);
- gtk_tree_view_column_set_alignment (column, 0.0);
- gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_GROW_ONLY);
- gtk_tree_view_column_set_resizable(column, TRUE);
- gtk_tree_view_append_column (
- GTK_TREE_VIEW (process_list->process_list_widget), column);
-
column = gtk_tree_view_column_new_with_attributes ( "PID",
renderer,
"text",
-1);
}
-void processlist_set_brand(ProcessList *process_list,
- GQuark brand,
- HashedProcessData *hashed_process_data)
-{
- gtk_list_store_set ( process_list->list_store, &hashed_process_data->y_iter,
- BRAND_COLUMN, g_quark_to_string(brand),
- -1);
-}
-
void processlist_set_tgid(ProcessList *process_list,
guint tgid,
HashedProcessData *hashed_process_data)
LttTime *birth,
guint trace_num,
GQuark name,
- GQuark brand,
guint *height,
ProcessInfo **pm_process_info,
HashedProcessData **pm_hashed_process_data)
gtk_list_store_set ( process_list->list_store, &hashed_process_data->y_iter,
PROCESS_COLUMN, g_quark_to_string(name),
- BRAND_COLUMN, g_quark_to_string(brand),
PID_COLUMN, pid,
TGID_COLUMN, tgid,
PPID_COLUMN, ppid,