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