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
.eclipse
.tracecompass
.analysis
.os
.linux
.core
.tests
.stubs
.trace
;
12 import org
.eclipse
.tracecompass
.analysis
.os
.linux
.core
.trace
.DefaultEventLayout
;
13 import org
.eclipse
.tracecompass
.analysis
.os
.linux
.core
.trace
.IKernelAnalysisEventLayout
;
16 * Class to extend to be able to set the event names for the os unit tests.
18 * @author Geneviève Bastien
20 public class KernelEventLayoutStub
extends DefaultEventLayout
{
23 * Protected constructor
25 protected KernelEventLayoutStub() {
29 private static final IKernelAnalysisEventLayout INSTANCE
= new KernelEventLayoutStub();
32 * Get an instance of this event layout
34 * This object is completely immutable, so no need to create additional
35 * instances via the constructor.
37 * @return The instance
39 public static IKernelAnalysisEventLayout
getInstance() {