1 /**********************************************************************
2 * Copyright (c) 2012 Ericsson
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
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org
.eclipse
.linuxtools
.internal
.lttng2
.ui
.views
.control
.dialogs
;
14 import java
.util
.List
;
18 * Interface for providing information about kernel events to be enabled.
21 * @author Bernd Hufmann
23 public interface IEnableKernelEvents
{
25 // ------------------------------------------------------------------------
27 // ------------------------------------------------------------------------
30 * @return a flag whether the tracepoints shall be configured.
32 public boolean isTracepoints();
35 * @return a flag indicating whether all tracepoints shall be enabled or not.
37 public boolean isAllTracePoints();
40 * @return a flag whether the syscalls shall be configured.
42 public boolean isSysCalls();
45 * @return a flag indicating whether syscalls shall be enabled or not.
47 public boolean isAllSysCalls();
50 * @return a list of event names to be enabled.
52 public List
<String
> getEventNames();
55 * @return a flag whether the dynamic probe shall be configured.
57 public boolean isDynamicProbe();
60 * @return event name of the dynamic probe (or null if no dynamic probe).
62 public String
getProbeEventName();
65 * @return the dynamic probe (or null if no dynamic probe).
67 public String
getProbeName();
70 * @return a flag whether the dynamic function entry/return probe shall be configured.
72 public boolean isDynamicFunctionProbe();
75 * @return event name of the dynamic function entry/exit probe (or null if no dynamic probe).
77 public String
getFunctionEventName();
80 * @return the dynamic function entry/exit probe (or null if no dynamic probe).
82 public String
getFunction();
85 // * @return a flag whether events using wildcards should be enabled
87 // public boolean isWildcard();
90 // * @return a wildcard
92 // public String getWildcard();
95 // * @return a flag whether events using log levels should be enabled
97 // public boolean isLogLevel();
100 // * @return a log level type (loglevel or loglevel-only)
102 // public LogLevelType getLogLevelType();
105 // * @return a log level
107 // public TraceLogLevel getLogLevel();
110 // * @return a event name for the log level enable action
112 // public String getLogLevelEventName();
This page took 0.032962 seconds and 5 git commands to generate.