X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fresourceview%2Fprocesslist.c;h=21f2370f2253d96db7fbccb6f3b88dbb04a56fba;hb=98d7814fdfbdbb83cc57d6d3ed758f8b8b86d244;hp=ebe1fe3925d7a707109181c1e1e41ec1179674ac;hpb=58a9b31ba0dbc1df35a2d375599a3c7996079fbe;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c b/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c index ebe1fe39..21f2370f 100644 --- a/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c +++ b/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c @@ -626,14 +626,10 @@ void destroy_hash_data(gpointer data) int resourcelist_add( ProcessList *process_list, Drawing_t *drawing, -// guint pid, -// guint tgid, -// guint cpu, -// guint ppid, -// LttTime *birth, guint trace_num, GQuark name, -// GQuark brand, + guint type, + guint id, guint *height, ResourceInfo **pm_resource_info, HashedResourceData **pm_hashed_resource_data) @@ -654,6 +650,8 @@ int resourcelist_add( ProcessList *process_list, // Process_Info->ppid = ppid; // Process_Info->birth = *birth; Resource_Info->trace_num = trace_num; + Resource_Info->type = type; + Resource_Info->id = id; /* When we create it from before state update, we are sure that the * last event occured before the beginning of the global area.