1 /*******************************************************************************
2 * Copyright (c) 2011 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
12 *******************************************************************************/
14 package org
.eclipse
.linuxtools
.lttng
.ui
.tracecontrol
;
17 @SuppressWarnings("nls")
18 public class TraceControlConstants
{
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";
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";
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:";
46 // Default timeout for TCF tasks (in seconds)
47 public static final int DEFAULT_TCF_TASK_TIMEOUT
= 10;