From: pmf Date: Wed, 10 Oct 2007 22:37:31 +0000 (+0000) Subject: remove facilities_by_* fields from LttTrace X-Git-Tag: v0.12.20~845 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6a77ed1b72a491b84416b328a277bc35f76bcffe;p=lttv.git remove facilities_by_* fields from LttTrace git-svn-id: http://ltt.polymtl.ca/svn@2644 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/trace.h b/ltt/branches/poly/ltt/trace.h index 5266b227..ca3edd99 100644 --- a/ltt/branches/poly/ltt/trace.h +++ b/ltt/branches/poly/ltt/trace.h @@ -28,10 +28,6 @@ struct LttTrace { GQuark pathname; //the pathname of the trace //LttSystemDescription * system_description;//system description - GArray *facilities_by_num; /* fac_id as index in array */ - GData *facilities_by_name; /* fac name (GQuark) as index */ - /* Points to array of fac_id of all the - * facilities that has this name. */ guint num_cpu; guint32 arch_type; diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index c3e61845..f6beea74 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -1240,8 +1240,6 @@ LttTrace *ltt_trace_open(const gchar *pathname) /* Error handling */ facilities_error: - g_datalist_clear(&t->facilities_by_name); - g_array_free(t->facilities_by_num, TRUE); find_error: g_datalist_clear(&t->tracefiles); open_error: