~ubuntu-branches/ubuntu/trusty/eclipse-linuxtools/trusty

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/internal/lttng/ui/tracecontrol/TraceControlConstants.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2012-06-29 12:07:30 UTC
  • Revision ID: package-import@ubuntu.com-20120629120730-bfri1xys1i71dpn6
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************************************************
 
2
 * Copyright (c) 2011 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
 *   Bernd Hufmann - Initial API and implementation
 
11
 *   
 
12
 *******************************************************************************/
 
13
 
 
14
package org.eclipse.linuxtools.internal.lttng.ui.tracecontrol;
 
15
 
 
16
 
 
17
@SuppressWarnings("nls")
 
18
public class TraceControlConstants {
 
19
 
 
20
    // LTTng Resource Constants
 
21
    public static final String Rse_Provider_Resource_Remote_Type_Category = "providers";
 
22
    public static final String Rse_Provider_Resource_Remote_Type = "provider";
 
23
    public static final String Rse_Target_Resource_Remote_Type_Category = "targets";
 
24
    public static final String Rse_Target_Resource_Remote_Type = "target";
 
25
    public static final String Rse_Trace_Resource_Remote_Type_Category = "traces";
 
26
    public static final String Rse_Trace_Resource_Remote_Type = "trace";
 
27
    public static final String Lttng_Providers_Name = "Providers";
 
28
    public static final String Lttng_Ust_TraceName = "auto";
 
29
    public static final String Lttng_Trace_Transport_Relay = "relay";
 
30
    public static final String Lttng_Control_AllChannels = "all";
 
31
    public static final String Lttng_Control_New_Event_Data = "new_trace_data";
 
32
    public static final String Lttng_Control_Unwrite_Trace_Data_Event = "unwrite_trace_data";
 
33
    public static final String Lttng_Control_Trace_Done_Event = "trace_done";
 
34
 
 
35
    // the parameter names have to be coordinated with lttctltraceinfo.c in lttng-agent
 
36
    public static final String ACTIVE_TRACE_INFO_PARAM_DESTINATION = "destination";
 
37
    public static final String ACTIVE_TRACE_INFO_PARAM_NUM_THREAD = "numThread";
 
38
    public static final String ACTIVE_TRACE_INFO_PARAM_NORMAL_ONLY = "normal_only";
 
39
    public static final String ACTIVE_TRACE_INFO_PARAM_FLIGHT_ONLY = "flight_only";
 
40
    public static final String ACTIVE_TRACE_INFO_PARAM_ENABLED = "enabled";
 
41
 
 
42
    // the destination prefixes have to be coordinated with lttctlkerntransfer.c in lttng-agent
 
43
    public static final String ACTIVE_TRACE_INFO_DESTINATION_PREFIX_LOCAL = "local:";
 
44
    public static final String ACTIVE_TRACE_INFO_DESTINATION_PREFIX_NETWORK = "network:";
 
45
 
 
46
    // Default timeout for TCF tasks (in seconds)
 
47
    public static final int DEFAULT_TCF_TASK_TIMEOUT = 10;
 
48
}