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
;
15 * Class to extend to be able to set the event names for the os unit tests.
17 * @author Geneviève Bastien
19 public class KernelEventLayoutStub
extends DefaultEventLayout
{
22 * Protected constructor
24 protected KernelEventLayoutStub() {
28 private static final KernelEventLayoutStub INSTANCE
= new KernelEventLayoutStub();
31 * Get an instance of this event layout
33 * This object is completely immutable, so no need to create additional
34 * instances via the constructor.
36 * @return The instance
38 public static synchronized KernelEventLayoutStub
getInstance() {