X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fresourceview%2Fprocesslist.h;h=1e38afc16e4ddfe6f5e3a09d45e12dc168bf73ef;hb=c4e6f4dcd943f5fc42a6f903c2ca336a343a4624;hp=d94846030ea798d57aece063eb7cec4d5dc237b7;hpb=9e01e6d4aa891aa2900227503bde6e7dd9ae65a1;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.h b/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.h index d9484603..1e38afc1 100644 --- a/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.h +++ b/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.h @@ -16,8 +16,6 @@ * MA 02111-1307, USA. */ - - #ifndef _PROCESS_LIST_H #define _PROCESS_LIST_H @@ -45,33 +43,16 @@ /* Enumeration of the columns */ enum { - PROCESS_COLUMN, - BRAND_COLUMN, - PID_COLUMN, - TGID_COLUMN, - PPID_COLUMN, - CPU_COLUMN, - BIRTH_S_COLUMN, - BIRTH_NS_COLUMN, - TRACE_COLUMN, + NAME_COLUMN, N_COLUMNS }; -typedef struct _ProcessInfo { - - guint pid; - guint tgid; - guint cpu; - guint ppid; - LttTime birth; - guint trace_num; - - // gint height_cache; - -} ProcessInfo; +typedef struct _ResourceInfo { + guint name; +} ResourceInfo; -typedef struct _HashedProcessData { +typedef struct _HashedResourceData { GdkPixmap *pixmap; // Pixmap slice containing drawing buffer for the PID gint height; // height of the pixmap @@ -93,7 +74,7 @@ typedef struct _HashedProcessData { LttTime next_good_time; /* precalculate the next time where the next pixel is.*/ -} HashedProcessData; +} HashedResourceData; struct _ProcessList {