~ubuntu-branches/ubuntu/utopic/eclipse-linuxtools/utopic

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.lttng.core/src/org/eclipse/linuxtools/internal/lttng/core/LttngFactory.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2014-05-12 18:11:40 UTC
  • mfrom: (3.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140512181140-w237r3vsah1tmybz
Tags: 2.2.1-1
* New upstream release.
* Refreshed d/patches.
* Removed eclipse-cdt-valgrind-remote package, all its functionality
  is now provided by eclipse-cdt-profiling-framework-remote.
* Added remove-license-feature.patch.
* Bump Standards-Version to 3.9.5.
* Enable eclipse-changelog package.
* Enable eclipse-rpm-editor package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.internal.lttng.core;
13
 
 
14
 
import org.eclipse.linuxtools.internal.lttng.core.control.LttngCoreProviderFactory;
15
 
import org.eclipse.linuxtools.internal.lttng.core.state.experiment.StateManagerFactory;
16
 
 
17
 
/**
18
 
 * @author alvaro
19
 
 *
20
 
 */
21
 
public class LttngFactory {
22
 
        public static void init() {
23
 
                // Make sure the experiment component is ready to listen to experiment
24
 
                // selections
25
 
                StateManagerFactory.getExperimentManager();
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
29
 
                // shared for all synthetic event requests
30
 
                LttngCoreProviderFactory.initialize();
31
 
 
32
 
                // start debugging as per .options
33
 
                TraceDebug.init();
34
 
        }
35
 
}