Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e477f180aebb7e2f7542f24328f99bb7bf879523 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2009, 2010 Ericsson
 * 
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *   Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation
 *******************************************************************************/
package org.eclipse.linuxtools.lttng;

import org.eclipse.linuxtools.lttng.control.LttngCoreProviderFactory;
import org.eclipse.linuxtools.lttng.state.experiment.StateManagerFactory;

/**
 * @author alvaro
 *
 */
public class LttngFactory {
	static void init() {
		// Make sure the experiment component is ready to listen to experiment
		// selections
		StateManagerFactory.getExperimentManager();

		// The Synthetic event providers must also be notified of selections, in
		// order to keep the synchronization orders from TMF, this element is
		// shared for all synthetic event requests
		LttngCoreProviderFactory.initialize();

		// start debugging as per .options
		TraceDebug.init();
	}
}

Back to the top