1 /*******************************************************************************
2 * Copyright (c) 2015 Ericsson, É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
10 * Sebastien Lorrain - Initial API and implementation
11 ******************************************************************************/
13 package org
.eclipse
.tracecompass
.internal
.lttng2
.kernel
.core
.trace
.layout
;
16 * This file defines all the known event and field names for LTTng kernel
17 * traces, for versions of lttng-modules 2.7 and above.
19 * @author Sebastien Lorrain
21 @SuppressWarnings("javadoc")
22 public class Lttng27EventLayout
extends Lttng26EventLayout
{
27 protected Lttng27EventLayout() {}
29 public static final Lttng27EventLayout INSTANCE
= new Lttng27EventLayout();
31 // ------------------------------------------------------------------------
32 // New event definition in LTTng 2.7
33 // ------------------------------------------------------------------------
36 public String
eventHRTimerStart() {
37 return "timer_hrtimer_start"; //$NON-NLS-1$
41 public String
eventHRTimerCancel() {
42 return "timer_hrtimer_cancel"; //$NON-NLS-1$
46 public String
eventHRTimerExpireEntry() {
47 return "timer_hrtimer_expire_entry"; //$NON-NLS-1$
51 public String
eventHRTimerExpireExit() {
52 return "timer_hrtimer_expire_exit"; //$NON-NLS-1$
55 // ------------------------------------------------------------------------
56 // New field definitions in LTTng 2.7
57 // ------------------------------------------------------------------------
59 public String
fieldParentNSInum() {
60 return "parent_ns_inum"; //$NON-NLS-1$
63 public String
fieldChildNSInum() {
64 return "child_ns_inum"; //$NON-NLS-1$
67 public String
fieldChildVTids() {
68 return "vtids"; //$NON-NLS-1$
71 public String
fieldNSInum() {
72 return "ns_inum"; //$NON-NLS-1$
75 public String
fieldVTid() {
76 return "vtid"; //$NON-NLS-1$
79 public String
fieldPPid() {
80 return "ppid"; //$NON-NLS-1$
83 public String
fieldNSLevel() {
84 return "ns_level"; //$NON-NLS-1$