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
CommitLineData
498704b3 1/**********************************************************************
ed902a2b 2 * Copyright (c) 2012, 2014 Ericsson
a6e6f7b4 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 **********************************************************************/
9bc60be7 12package org.eclipse.tracecompass.internal.lttng2.control.ui.views.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>
a6e6f7b4 20 *
dbd4432d 21 * @author Bernd Hufmann
498704b3 22 */
ccc66d01 23public 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
9ee91a86
BH
34 /**
35 * @return a flag indicating all tracepoints and syscall shall be enabled or not
36 */
37 boolean isAllEvents();
38
498704b3
BH
39 /**
40 * @return a flag indicating whether all tracepoints shall be enabled or not.
41 */
a6e6f7b4 42 boolean isAllTracePoints();
498704b3 43
ccc66d01
BH
44 /**
45 * @return a flag whether the syscalls shall be configured.
46 */
a6e6f7b4
BH
47 boolean isSysCalls();
48
498704b3
BH
49 /**
50 * @return a flag indicating whether syscalls shall be enabled or not.
51 */
a6e6f7b4 52 boolean isAllSysCalls();
498704b3
BH
53
54 /**
55 * @return a list of event names to be enabled.
56 */
a6e6f7b4 57 List<String> getEventNames();
498704b3 58
ccc66d01
BH
59 /**
60 * @return a flag whether the dynamic probe shall be configured.
61 */
a6e6f7b4
BH
62 boolean isDynamicProbe();
63
498704b3
BH
64 /**
65 * @return event name of the dynamic probe (or null if no dynamic probe).
66 */
a6e6f7b4 67 String getProbeEventName();
498704b3
BH
68
69 /**
70 * @return the dynamic probe (or null if no dynamic probe).
71 */
a6e6f7b4 72 String getProbeName();
498704b3 73
ccc66d01
BH
74 /**
75 * @return a flag whether the dynamic function entry/return probe shall be configured.
76 */
a6e6f7b4
BH
77 boolean isDynamicFunctionProbe();
78
498704b3
BH
79 /**
80 * @return event name of the dynamic function entry/exit probe (or null if no dynamic probe).
81 */
a6e6f7b4 82 String getFunctionEventName();
498704b3
BH
83
84 /**
85 * @return the dynamic function entry/exit probe (or null if no dynamic probe).
86 */
a6e6f7b4 87 String getFunction();
ccc66d01 88
f0584d20
BH
89 /**
90 * @return a filter expression
91 */
92 String getFilterExpression();
498704b3 93}
This page took 0.078417 seconds and 5 git commands to generate.