1 /*******************************************************************************
2 * Copyright (c) 2016 École Polytechnique de Montréal
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
8 *******************************************************************************/
10 package org
.lttng
.scope
.lttng
.kernel
.core
.trace
.layout
.internal
;
12 import org
.eclipse
.jdt
.annotation
.NonNull
;
13 import org
.eclipse
.tracecompass
.ctf
.tmf
.core
.event
.CtfTmfEventField
;
16 * This file defines all the known event and field names for LTTng kernel
17 * traces, for versions of lttng-modules 2.9 and above.
19 * @author Geneviève Bastien
21 public class Lttng29EventLayout
extends Lttng28EventLayout
{
23 private static final String
[] TCP_SEQ_FIELD
= { "network_header", CtfTmfEventField
.FIELD_VARIANT_SELECTED
, "transport_header", "tcp", "seq" }; //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
24 private static final String
[] TCP_ACK_FIELD
= { "network_header", CtfTmfEventField
.FIELD_VARIANT_SELECTED
, "transport_header", "tcp", "ack_seq" }; //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
25 private static final String
[] TCP_FLAGS_FIELD
= { "network_header", CtfTmfEventField
.FIELD_VARIANT_SELECTED
, "transport_header", "tcp", "flags" }; //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
30 protected Lttng29EventLayout() {
33 private static final Lttng29EventLayout INSTANCE
= new Lttng29EventLayout();
35 public static Lttng29EventLayout
getInstance() {
40 public String
@NonNull [] fieldPathTcpSeq() {
45 public String
@NonNull [] fieldPathTcpAckSeq() {
50 public String
@NonNull [] fieldPathTcpFlags() {
51 return TCP_FLAGS_FIELD
;