control: command support for enabling all tracepoints/syscalls
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.control.ui / src / org / eclipse / tracecompass / internal / lttng2 / control / ui / views / dialogs / IEnableKernelEvents.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2014 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.tracecompass.internal.lttng2.control.ui.views.dialogs;
13
14 import java.util.List;
15
16 /**
17 * <p>
18 * Interface for providing information about kernel events to be enabled.
19 * </p>
20 *
21 * @author Bernd Hufmann
22 */
23 public interface IEnableKernelEvents {
24
25 // ------------------------------------------------------------------------
26 // Accessors
27 // ------------------------------------------------------------------------
28
29 /**
30 * @return a flag whether the tracepoints shall be configured.
31 */
32 boolean isTracepoints();
33
34 /**
35 * @return a flag indicating all tracepoints and syscall shall be enabled or not
36 */
37 boolean isAllEvents();
38
39 /**
40 * @return a flag indicating whether all tracepoints shall be enabled or not.
41 */
42 boolean isAllTracePoints();
43
44 /**
45 * @return a flag whether the syscalls shall be configured.
46 */
47 boolean isSysCalls();
48
49 /**
50 * @return a flag indicating whether syscalls shall be enabled or not.
51 */
52 boolean isAllSysCalls();
53
54 /**
55 * @return a list of event names to be enabled.
56 */
57 List<String> getEventNames();
58
59 /**
60 * @return a flag whether the dynamic probe shall be configured.
61 */
62 boolean isDynamicProbe();
63
64 /**
65 * @return event name of the dynamic probe (or null if no dynamic probe).
66 */
67 String getProbeEventName();
68
69 /**
70 * @return the dynamic probe (or null if no dynamic probe).
71 */
72 String getProbeName();
73
74 /**
75 * @return a flag whether the dynamic function entry/return probe shall be configured.
76 */
77 boolean isDynamicFunctionProbe();
78
79 /**
80 * @return event name of the dynamic function entry/exit probe (or null if no dynamic probe).
81 */
82 String getFunctionEventName();
83
84 /**
85 * @return the dynamic function entry/exit probe (or null if no dynamic probe).
86 */
87 String getFunction();
88
89 /**
90 * @return a filter expression
91 */
92 String getFilterExpression();
93 }
This page took 0.033733 seconds and 5 git commands to generate.