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
24 @SuppressWarnings("nls")
26 public interface CTFStrings
{
28 /** Event name for lost events */
29 String LOST_EVENT_NAME
= "Lost event";
32 * Name of the field in lost events indicating how many actual events were
35 String LOST_EVENTS_FIELD
= "Lost events";
38 * Name of the field in lost events indicating the time range
40 String LOST_EVENTS_DURATION
= "duration";
42 // -------------------------------------------------------------------------
43 // Packet header strings
44 // -------------------------------------------------------------------------
47 * Lost events so far in this stream (LTTng Specific)
51 String EVENTS_DISCARDED
= "events_discarded";
54 * The CPU ID of this packet (LTTng Specific)
58 String CPU_ID
= "cpu_id";
61 * The device of this packet
65 String DEVICE
= "device";
68 * The first time stamp of this packet
72 String TIMESTAMP_BEGIN
= "timestamp_begin";
75 * The last time stamp of this packet
79 String TIMESTAMP_END
= "timestamp_end";
86 String PACKET_SIZE
= "packet_size";
89 * Size of data in this packet (not necessarily the packet size)
93 String CONTENT_SIZE
= "content_size";
100 String MAGIC
= "magic";