Commit | Line | Data |
---|---|---|
498704b3 | 1 | /********************************************************************** |
a6e6f7b4 BH |
2 | * Copyright (c) 2012, 2013 Ericsson |
3 | * | |
498704b3 BH |
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 | |
a6e6f7b4 BH |
8 | * |
9 | * Contributors: | |
498704b3 BH |
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 | /** | |
498704b3 | 17 | * <p> |
ccc66d01 | 18 | * Interface for providing information about kernel events to be enabled. |
498704b3 | 19 | * </p> |
a6e6f7b4 | 20 | * |
dbd4432d | 21 | * @author Bernd Hufmann |
498704b3 | 22 | */ |
ccc66d01 | 23 | public interface IEnableKernelEvents { |
498704b3 BH |
24 | |
25 | // ------------------------------------------------------------------------ | |
26 | // Accessors | |
27 | // ------------------------------------------------------------------------ | |
a6e6f7b4 | 28 | |
ccc66d01 BH |
29 | /** |
30 | * @return a flag whether the tracepoints shall be configured. | |
31 | */ | |
a6e6f7b4 BH |
32 | boolean isTracepoints(); |
33 | ||
498704b3 BH |
34 | /** |
35 | * @return a flag indicating whether all tracepoints shall be enabled or not. | |
36 | */ | |
a6e6f7b4 | 37 | boolean isAllTracePoints(); |
498704b3 | 38 | |
ccc66d01 BH |
39 | /** |
40 | * @return a flag whether the syscalls shall be configured. | |
41 | */ | |
a6e6f7b4 BH |
42 | boolean isSysCalls(); |
43 | ||
498704b3 BH |
44 | /** |
45 | * @return a flag indicating whether syscalls shall be enabled or not. | |
46 | */ | |
a6e6f7b4 | 47 | boolean isAllSysCalls(); |
498704b3 BH |
48 | |
49 | /** | |
50 | * @return a list of event names to be enabled. | |
51 | */ | |
a6e6f7b4 | 52 | List<String> getEventNames(); |
498704b3 | 53 | |
ccc66d01 BH |
54 | /** |
55 | * @return a flag whether the dynamic probe shall be configured. | |
56 | */ | |
a6e6f7b4 BH |
57 | boolean isDynamicProbe(); |
58 | ||
498704b3 BH |
59 | /** |
60 | * @return event name of the dynamic probe (or null if no dynamic probe). | |
61 | */ | |
a6e6f7b4 | 62 | String getProbeEventName(); |
498704b3 BH |
63 | |
64 | /** | |
65 | * @return the dynamic probe (or null if no dynamic probe). | |
66 | */ | |
a6e6f7b4 | 67 | String getProbeName(); |
498704b3 | 68 | |
ccc66d01 BH |
69 | /** |
70 | * @return a flag whether the dynamic function entry/return probe shall be configured. | |
71 | */ | |
a6e6f7b4 BH |
72 | boolean isDynamicFunctionProbe(); |
73 | ||
498704b3 BH |
74 | /** |
75 | * @return event name of the dynamic function entry/exit probe (or null if no dynamic probe). | |
76 | */ | |
a6e6f7b4 | 77 | String getFunctionEventName(); |
498704b3 BH |
78 | |
79 | /** | |
80 | * @return the dynamic function entry/exit probe (or null if no dynamic probe). | |
81 | */ | |
a6e6f7b4 | 82 | String getFunction(); |
ccc66d01 | 83 | |
498704b3 | 84 | } |