7f0d7b18627339adb606db00528b52579ff7c8af
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.core / src / org / eclipse / linuxtools / internal / lttng2 / core / control / model / TraceEventType.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2013 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 **********************************************************************/
12 package org.eclipse.linuxtools.internal.lttng2.core.control.model;
13
14 /**
15 * <p>
16 * Trace event type enumeration.
17 * </p>
18 *
19 * @author Bernd Hufmann
20 */
21 public enum TraceEventType {
22 /** Event type: tracepoint */
23 TRACEPOINT("tracepoint"), //$NON-NLS-1$
24 /** Event type: syscall */
25 SYSCALL("syscall"), //$NON-NLS-1$
26 /** Event type: probe */
27 PROBE("probe"), //$NON-NLS-1$
28 /** Event type: function */
29 FUNCTION("function"), //$NON-NLS-1$
30 /** Event type unknown */
31 UNKNOWN("unknown"); //$NON-NLS-1$
32
33 private final String fInName;
34
35 private TraceEventType(String name) {
36 fInName = name;
37 }
38
39 /**
40 * Get the type's name
41 *
42 * @return The type's name
43 */
44 public String getInName() {
45 return fInName;
46 }
47 }
48
This page took 0.032041 seconds and 4 git commands to generate.