for (int i = 0; i < LOOP_COUNT; i++) {
/** Start each run of the test with new objects to avoid different code paths */
- try (IAnalysisModule module = new LttngKernelAnalysisModule();
+ try (IAnalysisModule module = new KernelAnalysis();
LttngKernelTrace trace = new LttngKernelTrace()) {
module.setId("test");
trace.initTrace(null, testTrace.getPath(), CtfTmfEvent.class);
import org.junit.runners.Suite;
/**
- * Master test suite for all Linux Tools LTTng unit tests.
+ * Master test suite for all Trace Compass unit tests.
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
import org.junit.runners.Suite;
/**
- * Master test suite for all Linux Tools LTTng unit tests.
+ * Master test suite for all Trace Compass UI unit tests.
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2014 École Polytechnique de Montréal
+ * Copyright (c) 2014, 2015 École Polytechnique de Montréal
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Master test suite for all Linux Tools LTTng performance tests.
+ * Master test suite for all Trace Compass performance tests.
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2014 Ericsson
+ * Copyright (c) 2014, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Master test suite for all SWTBot Linux Tools LTTng unit tests.
+ * Master test suite for all Trace Compass SWTBot unit tests.
*
* Note that the SWTBot tests need to be executed in a non-UI thread
* which is why they are separated in a different test suite.
<view
category="org.eclipse.linuxtools.tmf.ui.views.category"
class="org.eclipse.tracecompass.examples.ui.views.histogram.NewHistogramView"
- id="org.eclipse.linuxtools.tracing.examples.ui.views.HistogramView"
+ id="org.eclipse.tracecompass.examples.ui.views.NewHistogramView"
name="%tracing.examples.histogram.view.name"
restorable="true">
</view>
/*******************************************************************************
- * Copyright (c) 2013, 2014 Ericsson
+ * Copyright (c) 2013, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
*/
public class NewHistogramView extends TmfChartView {
/** The view ID. */
- public static final String ID = "org.eclipse.linuxtools.tracing.examples.ui.views.NewHistogramView"; //$NON-NLS-1$
+ public static final String ID = "org.eclipse.tracecompass.examples.ui.views.NewHistogramView"; //$NON-NLS-1$
/**
* Default Constructor
/*******************************************************************************
- * Copyright (c) 2013, 2014 Ericsson
+ * Copyright (c) 2013, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.lttng2.ust.core.tests.trace.callstack
+ * Test suite for org.eclipse.tracecompass.lttng2.ust.core.tests.trace.callstack
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2013, 2014 Ericsson
+ * Copyright (c) 2013, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.core.statesystem
+ * Test suite for org.eclipse.tracecompass.statesystem.core.backend
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2014 École Polytechnique de Montréal
+ * Copyright (c) 2014, 2015 École Polytechnique de Montréal
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.analysis.xml.core.module package
+ * Test suite for org.eclipse.tracecompass.tmf.analysis.xml.core.module package
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2013, 2014 École Polytechnique de Montréal
+ * Copyright (c) 2013, 2015 École Polytechnique de Montréal
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.analysis.xml.core.stateprovider
+ * Test suite for org.eclipse.tracecompass.tmf.analysis.xml.core.stateprovider
* package
*/
@RunWith(Suite.class)
/*******************************************************************************
- * Copyright (c) 2014 École Polytechnique de Montréal
+ * Copyright (c) 2014, 2015 École Polytechnique de Montréal
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.analysis.xml.ui.module package
+ * Test suite for org.eclipse.tracecompass.tmf.analysis.xml.ui.module package
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2009, 2014 Ericsson
+ * Copyright (c) 2009, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.core.event
+ * Test suite for org.eclipse.tracecompass.tmf.core.event
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2013, 2014 Ericsson
+ * Copyright (c) 2013, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.core.event.lookup
+ * Test suite for org.eclipse.tracecompass.tmf.core.event.lookup
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2012, 2014 Ericsson
+ * Copyright (c) 2012, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.core.tests.statesystem
+ * Test suite for org.eclipse.tracecompass.tmf.core.statesystem
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2013, 2014 Ericsson
+ * Copyright (c) 2013, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.core.tests.statesystem.mipmap
+ * Test suite for org.eclipse.tracecompass.tmf.core.statesystem.mipmap
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2013, 2014 École Polytechnique de Montréal
+ * Copyright (c) 2013, 2015 École Polytechnique de Montréal
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.core.synchronization
+ * Test suite for org.eclipse.tracecompass.tmf.core.synchronization
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({ TsTransformTest.class,
/*******************************************************************************
- * Copyright (c) 2009, 2014 Ericsson
+ * Copyright (c) 2009, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.core.trace
+ * Test suite for org.eclipse.tracecompass.tmf.core.trace
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2013, 2014 Ericsson
+ * Copyright (c) 2013, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.core.trace.indexer.checkpoint
+ * Test suite for org.eclipse.tracecompass.tmf.core.trace.indexer.checkpoint
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2009, 2014 Ericsson
+ * Copyright (c) 2009, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.core.trace.location
+ * Test suite for org.eclipse.tracecompass.tmf.core.trace.location
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
/*******************************************************************************
- * Copyright (c) 2014 Ericsson
+ * Copyright (c) 2014, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.core.trace.location
+ * Test suite for org.eclipse.tracecompass.tmf.core.trace.text
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
@Override
public Bundle getBundle() {
- return Platform.getBundle("org.eclipse.linuxtools.tmf.core.tests");
+ return Platform.getBundle("org.eclipse.tracecompass.tmf.core.tests");
}
@Override
/*******************************************************************************
- * Copyright (c) 2013, 2014 École Polytechnique de Montréal
+ * Copyright (c) 2013, 2015 École Polytechnique de Montréal
* 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
import org.eclipse.osgi.util.NLS;
/**
- * Message bundle for org.eclipse.linuxtools.tmf.core.analysis
+ * Message bundle for org.eclipse.tracecompass.tmf.core.analysis
*
* @author Geneviève Bastien
*/
/*******************************************************************************
- * Copyright (c) 2009, 2014 Ericsson
+ * Copyright (c) 2009, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
}
// Path of the trace
- private static final String TRACE_PATH = "../org.eclipse.linuxtools.ctf.core.tests/traces/kernel";
+ private static final String TRACE_PATH = "../org.eclipse.tracecompass.ctf.core.tests/traces/kernel";
// Change this to run several time over the same trace
private static final int NB_OF_PASS = 100;
/*******************************************************************************
- * Copyright (c) 2014 Ericsson
+ * Copyright (c) 2014, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* Available Pcap TMF test traces. Kind-of-extends {@link PcapTestTrace}.
*
* To run tests using these, you first need to run the "get-traces.[xml|sh]"
- * script located under lttng/org.eclipse.linuxtools.pcap.core.tests/rsc/ .
+ * script located under org.eclipse.tracecompass.pcap.core.tests/rsc/ .
*
* @author Vincent Perot
*/
/*******************************************************************************
- * Copyright (c) 2014 Ericsson
+ * Copyright (c) 2014, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
/**
* Enumeration as a TMF wrapper of the different Protocols. To register a
- * protocol in TMF, it must be present in
- * org.eclipse.linuxtools.pcap.core.protocol.Protocol and must have the same
- * name.
+ * protocol in TMF, it must be present in {@link PcapProtocol} and must have the
+ * same name.
*
* @author Vincent Perot
*/
* @param tracePath
* the path of the trace file (absolute or relative)
* @param traceType
- * the trace canonical string (eg:
+ * the trace type id (eg:
* org.eclipse.linuxtools.btf.trace)
*/
public static void openTrace(final String projectName, final String tracePath, final String traceType) {
* @param tracePath
* the path of the trace file (absolute or relative)
* @param traceType
- * the trace canonical string (eg:
+ * the trace type id (eg:
* org.eclipse.linuxtools.btf.trace)
* @param delay
* delay and wait for jobs
/*******************************************************************************
- * Copyright (c) 2013, 2014 École Polytechnique de Montréal
+ * Copyright (c) 2013, 2015 École Polytechnique de Montréal and others.
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.junit.runners.Suite;
/**
- * Test suite for org.eclipse.linuxtools.tmf.ui.project.model
+ * Test suite for org.eclipse.tracecompass.tmf.ui.project.model
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
# Ericsson - Initial API and implementation
###############################################################################
-# org.eclipse.linuxtools.tmf.ui.dialogs
+# org.eclipse.tracecompass.tmf.ui.dialogs
ManageCustomParsersDialog_ConflictMessage=Trace type ''{0} : {1}'' already exists.\nDo you want to rename to ''{2}'' or skip?
ManageCustomParsersDialog_ConflictRenameButtonLabel=Rename
ManageCustomParsersDialog_ConflictSkipButtonLabel=Skip
ManageCustomParsersDialog_NewButtonLabel=New...
ManageCustomParsersDialog_TextButtonLabel=Text
-# org.eclipse.linuxtools.tmf.ui.viewers.events
+# org.eclipse.tracecompass.tmf.ui.viewers.events
TmfEventsTable_AddBookmarkActionText=Add Bookmark...
TmfEventsTable_AddBookmarkDialogMessage=Enter Bookmark Description:
TmfEventsTable_AddBookmarkDialogTitle=Add Bookmark
TmfEventsTable_TimestampColumnHeader=Timestamp
TmfEventsTable_TypeColumnHeader=Type
-# org.eclipse.linuxtools.tmf.ui.viewers.timegraph.dialogs
+# org.eclipse.tracecompass.tmf.ui.viewers.timegraph.dialogs
TmfTimeFilterDialog_EDIT_PROFILING_OPTIONS=Edit Profiling Options
TmfTimeFilterDialog_TRACE_FILTER=Trace Filter
TmfTimeFilterDialog_TRACE_FILTER_DESC=Define the filter set
TmfTimeFilterDialog_CHECK_SUBTREE=Check subtree
TmfTimeFilterDialog_UNCHECK_SUBTREE=Uncheck subtree
-# org.eclipse.linuxtools.tmf.ui.viewers.timegraph.widgets
+# org.eclipse.tracecompass.tmf.ui.viewers.timegraph.widgets
TmfTimeTipHandler_DURATION=Duration
TmfTimeTipHandler_LINK_SOURCE=Source
TmfTimeTipHandler_LINK_SOURCE_TIME=Source Time
Utils_ClockCyclesUnit=\u0020cc
-# org.eclipse.linuxtools.tmf.ui.views.colors
+# org.eclipse.tracecompass.tmf.ui.views.colors
ColorsView_AddActionToolTipText=Insert new color setting
ColorsView_BackgroundButtonText=BG
ColorsView_BackgroundDialogText=Set background color
ColorsView_TickButtonText=Tick
TickColorDialog_TickColorDialogTitle=Choose tick color
-# org.eclipse.linuxtools.tmf.ui.wizards
+# org.eclipse.tracecompass.tmf.ui.wizards
CustomTxtParserInputWizardPage_addChildLine=Add child line
CustomTxtParserInputWizardPage_addGroup=Add group
CustomTxtParserInputWizardPage_addNextLine=Add next line
CustomXmlParserOutputWizardPage_moveBefore=Move Before
CustomXmlParserOutputWizardPage_visible=Visible
-# org.eclipse.linuxtools.tmf.ui.views.filter
+# org.eclipse.tracecompass.tmf.ui.views.filter
FilterDialog_FilterDialogTitle=Edit filter
FilterTreeLabelProvider_AspectHint=<select aspect>
FilterTreeLabelProvider_FilterNameHint=<name>
/**********************************************************************
- * Copyright (c) 2005, 2014 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2015 IBM Corporation, 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
/**
* Returns the contained color. Returned object must be an instance of org.eclipse.swt.graphics.Color if used with
- * the org.eclipse.linuxtools.tmf.ui.views.uml2sd.NGC graphical context
+ * the org.eclipse.tracecompass.tmf.ui.views.uml2sd.NGC graphical context
*
* @return the color
*/
/**********************************************************************
- * Copyright (c) 2005, 2014 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2015 IBM Corporation, 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
/**
* Returns the contained font. Returned object must be an instance of org.eclipse.swt.graphics.Font if used with the
- * org.eclipse.linuxtools.tmf.ui.views.uml2sd.NGC graphical context
+ * org.eclipse.tracecompass.tmf.ui.views.uml2sd.NGC graphical context
*
* @return the font
*/
/**********************************************************************
- * Copyright (c) 2005, 2014 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2015 IBM Corporation, 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
/**
* Returns the contained image. Returned object must be an instance of org.eclipse.swt.graphics.Image if used with
- * the org.eclipse.linuxtools.tmf.ui.views.uml2sd.NGC graphical context
+ * the org.eclipse.tracecompass.tmf.ui.views.uml2sd.NGC graphical context
*
* @return the color
*/
/**********************************************************************
- * Copyright (c) 2005, 2014 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2015 IBM Corporation, 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
private static Image createResourceImage(String name) {
try {
URL BASIC_URL = new URL("platform", "localhost", "plugin");//$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- URL url = new URL(BASIC_URL, "plugin/org.eclipse.linuxtools.tmf.ui/icons/" + name);//$NON-NLS-1$
+ URL url = new URL(BASIC_URL, "plugin/org.eclipse.tracecompass.tmf.ui/icons/" + name);//$NON-NLS-1$
ImageDescriptor img = ImageDescriptor.createFromURL(url);
return img.createImage();
} catch (MalformedURLException e) {
/**********************************************************************
- * Copyright (c) 2011, 2014 Ericsson
+ * Copyright (c) 2011, 2015 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.eclipse.tracecompass.tmf.core.event.ITmfEvent;
import org.eclipse.tracecompass.tmf.core.event.ITmfEventField;
import org.eclipse.tracecompass.tmf.core.request.ITmfEventRequest;
+import org.eclipse.tracecompass.tmf.core.request.ITmfEventRequest.ExecutionType;
import org.eclipse.tracecompass.tmf.core.request.TmfEventRequest;
import org.eclipse.tracecompass.tmf.core.signal.TmfRangeSynchSignal;
import org.eclipse.tracecompass.tmf.core.signal.TmfSignal;
/**
* <p>
* This class is a reference implementation of the
- * <code>org.eclipse.linuxtools.tmf.ui.Uml2SDLoader</code> extension point. It
+ * <code>org.eclipse.tracecompass.tmf.ui.Uml2SDLoader</code> extension point. It
* provides a Sequence Diagram loader for a user space trace with specific trace
* content for sending and receiving signals between components. I also includes
* a default implementation for the <code>ITmfEvent</code> parsing.
/**
* Constructor
- * @param range @see org.eclipse.linuxtools.tmf.request.TmfEventRequest#TmfEventRequest(...)
- * @param nbRequested @see org.eclipse.linuxtools.tmf.request.TmfEventRequest#handleData(...)
- * @param execType @see org.eclipse.linuxtools.tmf.request.TmfEventRequest#handleData(...)
+ * @param range see {@link TmfEventRequest#TmfEventRequest(Class, TmfTimeRange, long, int, org.eclipse.tracecompass.tmf.core.request.ITmfEventRequest.ExecutionType) TmfEventRequest}
+ * @param nbRequested see {@link TmfEventRequest#TmfEventRequest(Class, TmfTimeRange, long, int, org.eclipse.tracecompass.tmf.core.request.ITmfEventRequest.ExecutionType) TmfEventRequest}
+ * @param priority {@link ExecutionType#FOREGROUND} or {@link ExecutionType#BACKGROUND}
* @param criteria The search criteria
*/
- public SearchEventRequest(TmfTimeRange range, int nbRequested, ExecutionType execType, Criteria criteria) {
- this(range, nbRequested, execType, criteria, null);
+ public SearchEventRequest(TmfTimeRange range, int nbRequested, ExecutionType priority, Criteria criteria) {
+ this(range, nbRequested, priority, criteria, null);
}
/**
* Constructor
- * @param range @see org.eclipse.linuxtools.tmf.request.TmfEventRequest#TmfEventRequest(...)
- * @param nbRequested @see org.eclipse.linuxtools.tmf.request.TmfEventRequest#TmfEventRequest(...)
- * @param execType @see org.eclipse.linuxtools.tmf.request.TmfEventRequest#TmfEventRequest(...)
+ * @param range see {@link TmfEventRequest#TmfEventRequest(Class, TmfTimeRange, long, int, org.eclipse.tracecompass.tmf.core.request.ITmfEventRequest.ExecutionType) TmfEventRequest}
+ * @param nbRequested see {@link TmfEventRequest#TmfEventRequest(Class, TmfTimeRange, long, int, org.eclipse.tracecompass.tmf.core.request.ITmfEventRequest.ExecutionType) TmfEventRequest}
+ * @param priority {@link ExecutionType#FOREGROUND} or {@link ExecutionType#BACKGROUND}
* @param criteria The search criteria
* @param monitor progress monitor
*/
- public SearchEventRequest(TmfTimeRange range, int nbRequested, ExecutionType execType, Criteria criteria, IProgressMonitor monitor) {
- super(ITmfEvent.class, range, 0, nbRequested, execType);
+ public SearchEventRequest(TmfTimeRange range, int nbRequested, ExecutionType priority, Criteria criteria, IProgressMonitor monitor) {
+ super(ITmfEvent.class, range, 0, nbRequested, priority);
fCriteria = new Criteria(criteria);
fMonitor = monitor;
}