* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Alexandre Montplaisir - Initial API and implementation
*******************************************************************************/
package org.eclipse.tracecompass.internal.analysis.os.linux.core.kernelanalysis;
@SuppressWarnings("javadoc")
public interface LinuxValues {
- /*
+ /**
* Process states found in scheduler events.
*
* From include/linux/sched.h
*
+ * <pre>
* #define TASK_RUNNING 0
* #define TASK_INTERRUPTIBLE 1
* #define TASK_UNINTERRUPTIBLE 2
* #define TASK_WAKING 256
* #define TASK_PARKED 512
* #define TASK_STATE_MAX 1024
+ * </pre>
*/
/**
* The task is running normally, can be interrupted, in a syscall or user
*/
int TASK_STATE_MAX = 1024;
- /*
+ /**
* Process statuses, used in LTTng statedump events.
*
* This is LTTng-specific, but the statedump are handled at this level, so
*
* Taken from lttng-module's lttng-statedump-impl.c:
*
+ * <pre>
* enum lttng_process_status {
* LTTNG_UNNAMED = 0,
* LTTNG_WAIT_FORK = 1,
* LTTNG_RUN = 6,
* LTTNG_DEAD = 7,
* };
+ * </pre>
*/
+
+ /** Task is initially preempted */
int STATEDUMP_PROCESS_STATUS_WAIT_CPU = 2;
+
+ /** Task is initially blocked */
int STATEDUMP_PROCESS_STATUS_WAIT = 5;
}