X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fresourceview%2Fprocesslist.h;h=2070a9c666494fadb2b846fb8fa5fe0975338dd1;hb=27274b95df69ef3f24710e928f1b8873e2e7571b;hp=e8f5a8498422a1618f455b3eebc54cd45453b15b;hpb=67f729732d629426de5a04965a81f6f0848af053;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 e8f5a849..2070a9c6 100644 --- a/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.h +++ b/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.h @@ -44,8 +44,10 @@ #define RV_RESOURCE_MACHINE 0 #define RV_RESOURCE_CPU 1 #define RV_RESOURCE_IRQ 2 -#define RV_RESOURCE_BDEV 3 -#define RV_RESOURCE_COUNT 4 +#define RV_RESOURCE_SOFT_IRQ 3 +#define RV_RESOURCE_TRAP 4 +#define RV_RESOURCE_BDEV 5 +#define RV_RESOURCE_COUNT 6 /* Enumeration of the columns */ enum @@ -64,7 +66,19 @@ typedef struct _ResourceInfo { } ResourceInfo; */ +struct _ResourceType { + /* a hashtable containing the data of each resource of this type */ + GHashTable *hash_table; +}; +typedef struct _ResourceType ResourceType; + +typedef struct _ResourceUnique { + ResourceType *type; + void *priv; +} ResourceUnique; + typedef struct _ResourceUniqueNumeric { + ResourceUnique ru; guint trace_num; guint id; } ResourceUniqueNumeric; @@ -91,18 +105,10 @@ typedef struct _HashedResourceData { LttTime next_good_time; /* precalculate the next time where the next pixel is.*/ + gint hidden; } HashedResourceData; -struct _ResourceType { - /* functions for the hash table below */ - guint (*hashfunc)(gconstpointer); - gboolean (*hashequalfunc)(gconstpointer,gconstpointer); - /* a hashtable containing the data of each resource of this type */ - GHashTable *hash_table; -}; -typedef struct _ResourceType ResourceType; - struct _ProcessList { GtkWidget *process_list_widget;