1
/*******************************************************************************
2
* Copyright (c) 2009, 2010 Ericsson
4
* All rights reserved. This program and the accompanying materials are
5
* made available under the terms of the Eclipse Public License v1.0 which
6
* accompanies this distribution, and is available at
7
* http://www.eclipse.org/legal/epl-v10.html
10
* Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation
11
*******************************************************************************/
12
package org.eclipse.linuxtools.internal.lttng.core;
14
import org.eclipse.linuxtools.internal.lttng.core.control.LttngCoreProviderFactory;
15
import org.eclipse.linuxtools.internal.lttng.core.state.experiment.StateManagerFactory;
21
public class LttngFactory {
22
public static void init() {
23
// Make sure the experiment component is ready to listen to experiment
25
StateManagerFactory.getExperimentManager();
27
// The Synthetic event providers must also be notified of selections, in
28
// order to keep the synchronization orders from TMF, this element is
29
// shared for all synthetic event requests
30
LttngCoreProviderFactory.initialize();
32
// start debugging as per .options