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 | **********************************************************************/ | |
12 | package org.eclipse.linuxtools.lttng.ui.views.control.dialogs; | |
13 | ||
14 | import java.util.List; | |
15 | ||
16 | /** | |
17 | * <b><u>IEnableKernelEventsDialog</u></b> | |
18 | * <p> | |
19 | * Interface for collection information for enabling kernel events. | |
20 | * </p> | |
21 | */ | |
22 | public interface IEnableKernelEventsDialog { | |
23 | ||
24 | // ------------------------------------------------------------------------ | |
25 | // Accessors | |
26 | // ------------------------------------------------------------------------ | |
27 | ||
28 | /** | |
29 | * @return a flag indicating whether all tracepoints shall be enabled or not. | |
30 | */ | |
31 | public boolean isAllTracePoints(); | |
32 | ||
33 | /** | |
34 | * @return a flag indicating whether syscalls shall be enabled or not. | |
35 | */ | |
36 | public boolean isAllSysCalls(); | |
37 | ||
38 | /** | |
39 | * @return a list of event names to be enabled. | |
40 | */ | |
41 | public List<String> getEventNames(); | |
42 | ||
43 | /** | |
44 | * @return event name of the dynamic probe (or null if no dynamic probe). | |
45 | */ | |
46 | public String getProbeEventName(); | |
47 | ||
48 | /** | |
49 | * @return the dynamic probe (or null if no dynamic probe). | |
50 | */ | |
51 | public String getProbeName(); | |
52 | ||
53 | /** | |
54 | * @return event name of the dynamic function entry/exit probe (or null if no dynamic probe). | |
55 | */ | |
56 | public String getFunctionEventName(); | |
57 | ||
58 | /** | |
59 | * @return the dynamic function entry/exit probe (or null if no dynamic probe). | |
60 | */ | |
61 | public String getFunction(); | |
62 | ||
63 | // ------------------------------------------------------------------------ | |
64 | // Operations | |
65 | // ------------------------------------------------------------------------ | |
66 | /** | |
67 | * @return the open return value | |
68 | */ | |
69 | int open(); | |
70 | } |