Commit | Line | Data |
---|---|---|
af3275f8 AM |
1 | /******************************************************************************* |
2 | * Copyright (c) 2015 Ericsson | |
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 | * Alexandre Montplaisir - Initial API and implementation | |
11 | ******************************************************************************/ | |
12 | ||
13 | package org.lttng.scope.lttng.kernel.core.trace; | |
14 | ||
15 | import org.eclipse.jdt.annotation.NonNullByDefault; | |
16 | import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace; | |
17 | import org.lttng.scope.lttng.kernel.core.trace.layout.ILttngKernelEventLayout; | |
18 | ||
19 | /** | |
20 | * Trace type that represents a Linux kernel trace. | |
21 | * | |
22 | * Any trace implementing the interface should be able to run the different | |
23 | * Linux kernel analyses in this plugin. | |
24 | * | |
25 | * @author Alexandre Montplaisir | |
26 | */ | |
27 | @NonNullByDefault | |
28 | public interface IKernelTrace extends ITmfTrace { | |
29 | ||
30 | /** | |
31 | * Get the event layout of this trace. Many known concepts from the Linux | |
32 | * kernel may be exported under different names, depending on the tracer. | |
33 | * | |
34 | * @return The event layout | |
35 | */ | |
36 | ILttngKernelEventLayout getKernelEventLayout(); | |
37 | ||
38 | } |