blob: d012c5704bd7ad03603041e9741354dcdf43b67f [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2017 Ericsson
*
* All rights reserved. This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.tracecompass.incubator.internal.traceevent.core.event;
import org.eclipse.jdt.annotation.NonNullByDefault;
/**
* Constants for the trace event format
*
* @author Matthew Khouzam
*/
@NonNullByDefault
public interface ITraceEventConstants {
/**
* Timestamp field name
*/
String TIMESTAMP = "ts"; //$NON-NLS-1$
/**
* Duration field name
*/
String DURATION = "dur"; //$NON-NLS-1$
/**
* Name field name
*/
String NAME = "name"; //$NON-NLS-1$
/**
* TID field name
*/
String TID = "tid"; //$NON-NLS-1$
/**
* PID field name
*/
String PID = "pid"; //$NON-NLS-1$
/**
* Phase field name
*/
String PHASE = "ph"; //$NON-NLS-1$
/**
* Category field name
*/
String CATEGORY = "cat"; //$NON-NLS-1$
/**
* Id field name
*/
String ID = "id"; //$NON-NLS-1$
/**
* Arguments field name
*/
String ARGS = "args"; //$NON-NLS-1$
/**
* Binding point field for flow events
*/
String BINDING_POINT = "bp"; //$NON-NLS-1$
/**
* An optional scope for some event types, to differentiate same ids
*/
String SCOPE = "scope"; //$NON-NLS-1$
}