1 /*******************************************************************************
2 * Copyright (c) 2013, 2015 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 * Alexandre Montplaisir - Initial API and implementation
11 * Matthew Khouzam - Add packet header Strings
12 *******************************************************************************/
14 package org
.eclipse
.tracecompass
.ctf
.core
;
16 import org
.eclipse
.jdt
.annotation
.NonNullByDefault
;
19 * Non-externalized strings for use with the CTF plugin (event names, field
22 * @author Alexandre Montplaisir
23 * @noimplement This interface only contains static definitions.
25 @SuppressWarnings("nls")
27 public interface CTFStrings
{
29 /** Event name for lost events */
30 String LOST_EVENT_NAME
= "Lost event";
33 * Name of the field in lost events indicating how many actual events were
36 String LOST_EVENTS_FIELD
= "Lost events";
39 * Name of the field in lost events indicating the time range
41 String LOST_EVENTS_DURATION
= "duration";
43 // -------------------------------------------------------------------------
44 // Packet header strings
45 // -------------------------------------------------------------------------
48 * Lost events so far in this stream (LTTng Specific)
52 String EVENTS_DISCARDED
= "events_discarded";
55 * The CPU ID of this packet (LTTng Specific)
59 String CPU_ID
= "cpu_id";
62 * The device of this packet
66 String DEVICE
= "device";
69 * The first time stamp of this packet
73 String TIMESTAMP_BEGIN
= "timestamp_begin";
76 * The last time stamp of this packet
80 String TIMESTAMP_END
= "timestamp_end";
87 String PACKET_SIZE
= "packet_size";
90 * Size of data in this packet (not necessarily the packet size)
94 String CONTENT_SIZE
= "content_size";
101 String MAGIC
= "magic";
107 String HEADER
= "header";
113 String CONTEXT
= "context";
119 String PACKET
= "packet";
125 String TIMESTAMP
= "timestamp";