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 | **********************************************************************/ | |
31a6a4e4 | 12 | package org.eclipse.linuxtools.internal.lttng.ui.views.control.model; |
eb1bab5b BH |
13 | |
14 | /** | |
15 | * <b><u>TraceEventType</u></b> | |
16 | * <p> | |
17 | * Trace event type enumeration. | |
18 | * </p> | |
19 | */ | |
20 | public enum TraceEventType { | |
21 | TRACEPOINT("tracepoint"), //$NON-NLS-1$ | |
3e91c9c0 | 22 | SYSCALL("syscall"), //$NON-NLS-1$ |
ccc66d01 | 23 | PROBE("probe"), //$NON-NLS-1$ |
eb1bab5b BH |
24 | UNKNOWN("unknown"); //$NON-NLS-1$ |
25 | ||
26 | private final String fInName; | |
27 | ||
28 | private TraceEventType(String name) { | |
29 | fInName = name; | |
30 | } | |
31 | ||
32 | public String getInName() { | |
33 | return fInName; | |
34 | } | |
35 | }; | |
36 |