Commit | Line | Data |
---|---|---|
eb1bab5b BH |
1 | /********************************************************************** |
2 | * Copyright (c) 2012 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 | * Bernd Hufmann - Initial API and implementation | |
11 | **********************************************************************/ | |
9315aeee | 12 | package org.eclipse.linuxtools.internal.lttng2.core.control.model; |
eb1bab5b BH |
13 | |
14 | /** | |
eb1bab5b BH |
15 | * <p> |
16 | * Trace event type enumeration. | |
17 | * </p> | |
dbd4432d BH |
18 | * |
19 | * @author Bernd Hufmann | |
eb1bab5b BH |
20 | */ |
21 | public enum TraceEventType { | |
22 | TRACEPOINT("tracepoint"), //$NON-NLS-1$ | |
3e91c9c0 | 23 | SYSCALL("syscall"), //$NON-NLS-1$ |
ccc66d01 | 24 | PROBE("probe"), //$NON-NLS-1$ |
eb1bab5b BH |
25 | UNKNOWN("unknown"); //$NON-NLS-1$ |
26 | ||
27 | private final String fInName; | |
28 | ||
29 | private TraceEventType(String name) { | |
30 | fInName = name; | |
31 | } | |
32 | ||
33 | public String getInName() { | |
34 | return fInName; | |
35 | } | |
36 | }; | |
37 |