Commit | Line | Data |
---|---|---|
5d10d135 ASL |
1 | /******************************************************************************* |
2 | * Copyright (c) 2009, 2010 Ericsson | |
3 | * | |
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 | |
8 | * | |
9 | * Contributors: | |
10 | * Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | package org.eclipse.linuxtools.lttng; | |
13 | ||
14 | import org.eclipse.linuxtools.lttng.control.LttngCoreProviderFactory; | |
15 | import org.eclipse.linuxtools.lttng.state.experiment.StateManagerFactory; | |
16 | ||
17 | /** | |
18 | * @author alvaro | |
19 | * | |
20 | */ | |
21 | public class LttngFactory { | |
22 | static void init() { | |
23 | // Make sure the experiment component is ready to listen to experiment | |
24 | // selections | |
25 | StateManagerFactory.getExperimentManager(); | |
c1c69938 FC |
26 | |
27 | // The Synthetic event providers must also be notified of selections, in | |
28 | // order to keep the synchronization orders from TMF, this element is | |
5d10d135 | 29 | // shared for all synthetic event requests |
c1c69938 | 30 | LttngCoreProviderFactory.initialize(); |
5d10d135 ASL |
31 | |
32 | // start debugging as per .options | |
33 | TraceDebug.init(); | |
34 | } | |
35 | } |