Commit | Line | Data |
---|---|---|
ff5e31e0 SL |
1 | /******************************************************************************* |
2 | * Copyright (c) 2015 Ericsson, École Polytechnique de Montréal | |
3 | * | |
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 | * | |
9 | * Contributors: | |
10 | * Sebastien Lorrain - Initial API and implementation | |
11 | ******************************************************************************/ | |
12 | ||
13 | package org.eclipse.tracecompass.internal.lttng2.kernel.core.trace.layout; | |
14 | ||
15 | /** | |
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. | |
18 | * | |
19 | * @author Sebastien Lorrain | |
20 | */ | |
21 | @SuppressWarnings("javadoc") | |
22 | public class Lttng27EventLayout extends Lttng26EventLayout { | |
23 | ||
24 | /** | |
25 | * Constructor | |
26 | */ | |
27 | protected Lttng27EventLayout() {} | |
28 | ||
29 | public static final Lttng27EventLayout INSTANCE = new Lttng27EventLayout(); | |
30 | ||
31 | // ------------------------------------------------------------------------ | |
32 | // New definitions in LTTng 2.7 | |
33 | // ------------------------------------------------------------------------ | |
34 | ||
35 | public String fieldParentNSInum() { | |
36 | return "parent_ns_inum"; //$NON-NLS-1$ | |
37 | } | |
38 | ||
39 | public String fieldChildNSInum() { | |
40 | return "child_ns_inum"; //$NON-NLS-1$ | |
41 | } | |
42 | ||
43 | public String fieldChildVTids() { | |
44 | return "vtids"; //$NON-NLS-1$ | |
45 | } | |
46 | ||
47 | public String fieldNSInum() { | |
48 | return "ns_inum"; //$NON-NLS-1$ | |
49 | } | |
50 | ||
51 | public String fieldVTid() { | |
52 | return "vtid"; //$NON-NLS-1$ | |
53 | } | |
54 | ||
55 | public String fieldPPid() { | |
56 | return "ppid"; //$NON-NLS-1$ | |
57 | } | |
58 | ||
59 | public String fieldNSLevel() { | |
60 | return "ns_level"; //$NON-NLS-1$ | |
61 | } | |
62 | ||
ff5e31e0 | 63 | } |