tmf: Specify extended trace properties with an interface
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui / src / org / eclipse / linuxtools / internal / lttng2 / ui / views / control / dialogs / IEnableKernelEvents.java
CommitLineData
498704b3
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 **********************************************************************/
115b4a01 12package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
498704b3
BH
13
14import java.util.List;
15
16/**
498704b3 17 * <p>
ccc66d01 18 * Interface for providing information about kernel events to be enabled.
498704b3 19 * </p>
dbd4432d
BH
20 *
21 * @author Bernd Hufmann
498704b3 22 */
ccc66d01 23public interface IEnableKernelEvents {
498704b3
BH
24
25 // ------------------------------------------------------------------------
26 // Accessors
27 // ------------------------------------------------------------------------
28
ccc66d01
BH
29 /**
30 * @return a flag whether the tracepoints shall be configured.
31 */
32 public boolean isTracepoints();
33
498704b3
BH
34 /**
35 * @return a flag indicating whether all tracepoints shall be enabled or not.
36 */
37 public boolean isAllTracePoints();
38
ccc66d01
BH
39 /**
40 * @return a flag whether the syscalls shall be configured.
41 */
42 public boolean isSysCalls();
43
498704b3
BH
44 /**
45 * @return a flag indicating whether syscalls shall be enabled or not.
46 */
47 public boolean isAllSysCalls();
48
49 /**
50 * @return a list of event names to be enabled.
51 */
52 public List<String> getEventNames();
53
ccc66d01
BH
54 /**
55 * @return a flag whether the dynamic probe shall be configured.
56 */
57 public boolean isDynamicProbe();
58
498704b3
BH
59 /**
60 * @return event name of the dynamic probe (or null if no dynamic probe).
61 */
62 public String getProbeEventName();
63
64 /**
65 * @return the dynamic probe (or null if no dynamic probe).
66 */
67 public String getProbeName();
68
ccc66d01
BH
69 /**
70 * @return a flag whether the dynamic function entry/return probe shall be configured.
71 */
72 public boolean isDynamicFunctionProbe();
73
498704b3
BH
74 /**
75 * @return event name of the dynamic function entry/exit probe (or null if no dynamic probe).
76 */
77 public String getFunctionEventName();
78
79 /**
80 * @return the dynamic function entry/exit probe (or null if no dynamic probe).
81 */
82 public String getFunction();
ccc66d01
BH
83
84// /**
85// * @return a flag whether events using wildcards should be enabled
86// */
87// public boolean isWildcard();
88//
89// /**
90// * @return a wildcard
91// */
92// public String getWildcard();
93//
94// /**
95// * @return a flag whether events using log levels should be enabled
96// */
97// public boolean isLogLevel();
98//
99// /**
100// * @return a log level type (loglevel or loglevel-only)
101// */
102// public LogLevelType getLogLevelType();
103//
104// /**
105// * @return a log level
106// */
107// public TraceLogLevel getLogLevel();
108//
109// /**
110// * @return a event name for the log level enable action
111// */
112// public String getLogLevelEventName();
113
498704b3 114}
This page took 0.040688 seconds and 5 git commands to generate.