1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
4 * All rights reserved. This program and the accompanying materials are made
5 * 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 * Jonathan Rajotte Julien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.internal
.lttng2
.control
.ui
.views
.service
;
15 import org
.eclipse
.jdt
.annotation
.NonNullByDefault
;
18 * Non-externalized strings for use with the LTTng Control services. This
19 * nformation is extracted from mi_lttng.xsd from lttng-tool libmi.
21 * @author Jonathan Rajotte
23 @SuppressWarnings("nls")
25 public interface MIStrings
{
28 * Represent the command_action xml element
30 String COMMAND_ACTION
= "snapshot_action";
33 * Represent the command_add_context xml element
35 String COMMAND_ADD_CONTEXT
= "add-context";
38 * Represent the command_calibrate xml element
40 String COMMAND_CALIBRATE
= "calibrate";
43 * Represent the command_create xml element
45 String COMMAND_CREATE
= "create";
48 * Represent the command_destroy xml element
50 String COMMAND_DESTROY
= "destroy";
53 * Represent the command_disable_channel xml element
55 String COMMAND_DISABLE_CHANNEL
= "disable-channel";
58 * Represent the command_disable_event xml element
60 String COMMAND_DISABLE_EVENT
= "disable-event";
63 * Represent the command_enable_channels xml element
65 String COMMAND_ENABLE_CHANNELS
= "enable-channel";
68 * Represent the command_enable_event xml element
70 String COMMAND_ENABLE_EVENT
= "enable-event";
73 * Represent the command_list xml element
75 String COMMAND_LIST
= "list";
78 * Represent the command_load xml element
80 String COMMAND_LOAD
= "load";
83 * Represent the command_name xml element
85 String COMMAND_NAME
= "name";
88 * Represent the command_output xml element
90 String COMMAND_OUTPUT
= "output";
93 * Represent the command_save xml element
95 String COMMAND_SAVE
= "save";
98 * Represent the command_set_session xml element
100 String COMMAND_SET_SESSION
= "set-session";
103 * Represent the command_snapshot xml element
105 String COMMAND_SNAPSHOT
= "snapshot";
108 * Represent the command_snapshot_add xml element
110 String COMMAND_SNAPSHOT_ADD
= "add_snapshot";
113 * Represent the command_snapshot_del xml element
115 String COMMAND_SNAPSHOT_DEL
= "del_snapshot";
118 * Represent the command_snapshot_list xml element
120 String COMMAND_SNAPSHOT_LIST
= "list_snapshot";
123 * Represent the command_snapshot_record xml element
125 String COMMAND_SNAPSHOT_RECORD
= "record_snapshot";
128 * Represent the command_start xml element
130 String COMMAND_START
= "start";
133 * Represent the command_stop xml element
135 String COMMAND_STOP
= "stop";
138 * Represent the command_success xml element
140 String COMMAND_SUCCESS
= "success";
143 * Represent the command_version xml element
145 String COMMAND_VERSION
= "version";
148 * Represent the version xml element
150 String VERSION
= "version";
153 * Represent the version_commit xml element
155 String VERSION_COMMIT
= "commit";
158 * Represent the version_description xml element
160 String VERSION_DESCRIPTION
= "description";
163 * Represent the version_license xml element
165 String VERSION_LICENSE
= "license";
168 * Represent the version_major xml element
170 String VERSION_MAJOR
= "major";
173 * Represent the version_minor xml element
175 String VERSION_MINOR
= "minor";
178 * Represent the version_patch_level xml element
180 String VERSION_PATCH_LEVEL
= "patchLevel";
183 * Represent the version_str xml element
185 String VERSION_STR
= "string";
188 * Represent the version_web xml element
190 String VERSION_WEB
= "url";
193 * Represent the version_name xml element
195 String VERSION_NAME
= "name";
196 /* String related to a lttng_event_field */
199 * Represent the event_field xml element
201 String EVENT_FIELD
= "event_field";
204 * Represent the event_fields xml element
206 String EVENT_FIELDS
= "event_fields";
209 * Represent the perf_counter_context xml element
211 String PERF_COUNTER_CONTEXT
= "perf_counter_context";
213 // ------------------------------------------------------------------------
214 // String related to pid
215 // ------------------------------------------------------------------------/
218 * Represent the pids xml element
220 String PIDS
= "pids";
223 * Represent the pid xml element
228 * Represent the pid_id xml element
230 String PID_ID
= "id";
232 // ------------------------------------------------------------------------
233 // String related to save command
234 // ------------------------------------------------------------------------
236 * Represent the save xml element
238 String SAVE
= "save";
240 // ------------------------------------------------------------------------
241 // String related to load command
242 // ------------------------------------------------------------------------
244 * Represent the load xml element
246 String LOAD
= "load";
248 // ------------------------------------------------------------------------
249 // String related to general element of mi_lttng
250 // ------------------------------------------------------------------------
252 * Represent the empty xml element
257 * Represent the id xml element
262 * Represent the nowrite xml element
264 String NOWRITE
= "nowrite";
267 * Represent the success xml element
269 String SUCCESS
= "success";
272 * Represent the type_enum xml element
274 String TYPE_ENUM
= "ENUM";
277 * Represent the type_float xml element
279 String TYPE_FLOAT
= "FLOAT";
282 * Represent the type_integer xml element
284 String TYPE_INTEGER
= "INTEGER";
287 * Represent the type_other xml element
289 String TYPE_OTHER
= "OTHER";
292 * Represent the type_string xml element
294 String TYPE_STRING
= "STRING";
296 // ------------------------------------------------------------------------
297 // String related to lttng_calibrate
298 // ------------------------------------------------------------------------
300 * Represent the calibrate xml element
302 String CALIBRATE
= "calibrate";
305 * Represent the calibrate_function xml element
307 String CALIBRATE_FUNCTION
= "FUNCTION";
309 // ------------------------------------------------------------------------
310 // String related to a lttng_snapshot_output
311 // ------------------------------------------------------------------------
313 * Represent the snapshot_ctrl_url xml element
315 String SNAPSHOT_CTRL_URL
= "ctrl_url";
318 * Represent the snapshot_data_url xml element
320 String SNAPSHOT_DATA_URL
= "data_url";
323 * Represent the snapshot_max_size xml element
326 String SNAPSHOT_MAX_SIZE
= "max_size";
329 * Represent the snapshot_n_ptr xml element
331 String SNAPSHOT_N_PTR
= "n_ptr";
334 * Represent the snapshot_session_name xml element
336 String SNAPSHOT_SESSION_NAME
= "session_name";
339 * Represent the snapshots xml element
341 String SNAPSHOTS
= "snapshots";
343 * Represent the channel xml element
345 String CHANNEL
= "channel";
348 * Represent the channels xml element
350 String CHANNELS
= "channels";
353 * Represent the domain xml element
355 String DOMAIN
= "domain";
358 * Represent the domains xml element
360 String DOMAINS
= "domains";
363 * Represent the event xml element
365 String EVENT
= "event";
368 * Represent the events xml element
370 String EVENTS
= "events";
373 * Represent the context xml element
375 String CONTEXT
= "context";
378 * Represent the contexts xml element
380 String CONTEXTS
= "contexts";
383 * Represent the attributes xml element
385 String ATTRIBUTES
= "attributes";
388 * Represent the exclusion xml element
390 String EXCLUSION
= "exclusion";
393 * Represent the exclusions xml element
395 String EXCLUSIONS
= "exclusions";
398 * Represent the function_attributes xml element
400 String FUNCTION_ATTRIBUTES
= "function_attributes";
403 * Represent the probe_attributes xml element
405 String PROBE_ATTRIBUTES
= "probe_attributes";
408 * Represent the symbol_name xml element
410 String SYMBOL_NAME
= "symbol_name";
413 * Represent the address xml element
415 String ADDRESS
= "address";
418 * Represent the offset xml element
420 String OFFSET
= "offset";
423 * Represent the name xml element
425 String NAME
= "name";
428 * Represent the enabled xml element
430 String ENABLED
= "enabled";
433 * Represent the overwrite_mode xml element
435 String OVERWRITE_MODE
= "overwrite_mode";
438 * Represent the subbuf_size xml element
440 String SUBBUF_SIZE
= "subbuffer_size";
443 * Represent the num_subbuf xml element
445 String NUM_SUBBUF
= "subbuffer_count";
448 * Represent the switch_timer_interval xml element
450 String SWITCH_TIMER_INTERVAL
= "switch_timer_interval";
453 * Represent the read_timer_interval xml element
455 String READ_TIMER_INTERVAL
= "read_timer_interval";
458 * Represent the output xml element
460 String OUTPUT
= "output";
463 * Represent the output_type xml element
465 String OUTPUT_TYPE
= "output_type";
468 * Represent the tracefile_size xml element
470 String TRACEFILE_SIZE
= "tracefile_size";
473 * Represent the tracefile_count xml element
475 String TRACEFILE_COUNT
= "tracefile_count";
478 * Represent the live_timer_interval xml element
480 String LIVE_TIMER_INTERVAL
= "live_timer_interval";
483 * Represent the type xml element
485 String TYPE
= "type";
488 * Represent the buffer_type xml element
490 String BUFFER_TYPE
= "buffer_type";
493 * Represent the session xml element
495 String SESSION
= "session";
498 * Represent the sessions xml element
500 String SESSIONS
= "sessions";
503 * Represent the perf xml element
505 String PERF
= "perf";
508 * Represent the config xml element
510 String CONFIG
= "config";
513 * Represent the started xml element
515 String STARTED
= "started";
518 * Represent the snapshot_mode xml element
520 String SNAPSHOT_MODE
= "snapshot_mode";
523 * Represent the loglevel xml element
525 String LOGLEVEL
= "loglevel";
528 * Represent the loglevel_type xml element
530 String LOGLEVEL_TYPE
= "loglevel_type";
533 * Represent the filter xml element
535 String FILTER
= "filter";
538 * Represent the snapshot_outputs xml element
540 String SNAPSHOT_OUTPUTS
= "snapshot_outputs";
543 * Represent the consumer_output xml element
545 String CONSUMER_OUTPUT
= "consumer_output";
548 * Represent the destination xml element
550 String DESTINATION
= "destination";
553 * Represent the path xml element
555 String PATH
= "path";
558 * Represent the net_output xml element
560 String NET_OUTPUT
= "net_output";
563 * Represent the control_uri xml element
565 String CONTROL_URI
= "control_uri";
568 * Represent the data_uri xml element
570 String DATA_URI
= "data_uri";
573 * Represent the max_size xml element
575 String MAX_SIZE
= "max_size";