1 /*******************************************************************************
2 * Copyright (c) 2014 Ericsson
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 * Alexandre Montplaisir - 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.6 and above.
19 * @author Alexandre Montplaisir
21 public class Lttng26EventLayout
extends LttngEventLayout
{
26 protected Lttng26EventLayout() {}
28 private static final Lttng26EventLayout INSTANCE
= new Lttng26EventLayout();
30 public static Lttng26EventLayout
getInstance() {
34 // ------------------------------------------------------------------------
35 // New event names in these versions
36 // ------------------------------------------------------------------------
39 public String
eventSyscallEntryPrefix() {
40 return "syscall_entry_"; //$NON-NLS-1$
44 public String
eventCompatSyscallEntryPrefix() {
45 return "compat_syscall_entry_"; //$NON-NLS-1$
49 public String
eventSyscallExitPrefix() {
50 return "syscall_exit_"; //$NON-NLS-1$
54 public String
eventCompatSyscallExitPrefix() {
55 return "compat_syscall_exit_"; //$NON-NLS-1$