*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- * MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
gpointer viewer_data; /* Unset : NULL */
gboolean servicing; /* service in progress: TRUE*/
LttTime start_time; /* Unset : ltt_time_infinite*/
gpointer viewer_data; /* Unset : NULL */
gboolean servicing; /* service in progress: TRUE*/
LttTime start_time; /* Unset : ltt_time_infinite*/
gboolean stop_flag; /* Continue:TRUE Stop:FALSE */
LttTime end_time; /* Unset : ltt_time_infinite*/
guint num_events; /* Unset : G_MAXUINT */
gboolean stop_flag; /* Continue:TRUE Stop:FALSE */
LttTime end_time; /* Unset : ltt_time_infinite*/
guint num_events; /* Unset : G_MAXUINT */
gint trace; /* unset : -1 */
GArray *hooks; /* Unset : NULL */
LttvHooks *before_chunk_traceset; /* Unset : NULL */
LttvHooks *before_chunk_trace; /* Unset : NULL */
LttvHooks *before_chunk_tracefile;/* Unset : NULL */
LttvHooks *event; /* Unset : NULL */
gint trace; /* unset : -1 */
GArray *hooks; /* Unset : NULL */
LttvHooks *before_chunk_traceset; /* Unset : NULL */
LttvHooks *before_chunk_trace; /* Unset : NULL */
LttvHooks *before_chunk_tracefile;/* Unset : NULL */
LttvHooks *event; /* Unset : NULL */
LttvHooks *after_chunk_tracefile; /* Unset : NULL */
LttvHooks *after_chunk_trace; /* Unset : NULL */
LttvHooks *after_chunk_traceset; /* Unset : NULL */
LttvHooks *after_chunk_tracefile; /* Unset : NULL */
LttvHooks *after_chunk_trace; /* Unset : NULL */
LttvHooks *after_chunk_traceset; /* Unset : NULL */
-#define CHUNK_NUM_EVENTS 6000
+// TODO ybrosseau, temporarly disable the chunking of event request
+// to solve a bug in the event state stability
+#define CHUNK_NUM_EVENTS G_MAXUINT
-/**
- * Function to get the context of the traceset
- * It must be non const so the viewer can add and remove hooks from it.
- * @param tab the tab the viewer belongs to.
- * @return Context of the current tab.
- */
-
-
-LttvTracesetContext* lttvwindow_get_traceset_context(Tab *tab);
-
+LttvTraceset* lttvwindow_get_traceset(Tab *tab);