| 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 | |
| 10 | package org.lttng.scope.lttng.kernel.core.trace.layout.internal; |
| 11 | |
| 12 | /** |
| 13 | * This file defines all the known event and field names for LTTng kernel |
| 14 | * traces, for versions of lttng-modules 2.8 and above. |
| 15 | * |
| 16 | * @author Francis Giraldeau |
| 17 | */ |
| 18 | public class Lttng28EventLayout extends Lttng27EventLayout { |
| 19 | |
| 20 | /** |
| 21 | * Constructor |
| 22 | */ |
| 23 | protected Lttng28EventLayout() { |
| 24 | } |
| 25 | |
| 26 | private static final Lttng28EventLayout INSTANCE = new Lttng28EventLayout(); |
| 27 | |
| 28 | public static Lttng28EventLayout getInstance() { |
| 29 | return INSTANCE; |
| 30 | } |
| 31 | |
| 32 | // ------------------------------------------------------------------------ |
| 33 | // New definitions in LTTng 2.8 |
| 34 | // ------------------------------------------------------------------------ |
| 35 | |
| 36 | @Override |
| 37 | public String eventSchedProcessWaking() { |
| 38 | return "sched_waking"; //$NON-NLS-1$ |
| 39 | } |
| 40 | |
| 41 | } |