From: compudj Date: Mon, 13 Oct 2003 19:35:39 +0000 (+0000) Subject: use attributes X-Git-Tag: v0.12.20~3185 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f0728492474ee0932f7588d68e7b10816690dd0d;p=lttv.git use attributes git-svn-id: http://ltt.polymtl.ca/svn@304 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.c b/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.c index de4bcd2a..fd6f0cf0 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.c @@ -5,11 +5,11 @@ * in a drawable. Doing this generically will permit user defined drawing * behavior in a later time. * - * We keep each data type in a hash table, as this container suits the - * best the information we receive (GQuark). - * (A hash table for facilities, pointing to an array per facility, containing - * event_number events.) - * (hash tables for cpus, for process state, for execution mode and submode). + * We keep each data type in attributes, keys to specific information + * being formed from the GQuark corresponding to the information received. + * (facilities / facility_name / events / eventname.) + * (cpus/cpu_name, process_states/ps_name, + * execution_modes/em_name, execution_submodes/es_name). * The goal is then to provide a generic way to print information on the * screen for all this different information. * @@ -51,5 +51,6 @@ #include #include - +#include +#include