From: Francis Giraldeau Date: Thu, 15 Oct 2015 14:34:46 +0000 (-0400) Subject: Make the file formattable and adjust header X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=94383285fd68c89c242e9452009ee2d59ddf8b14;p=deliverable%2Ftracecompass.git Make the file formattable and adjust header Trivial code cleanup patch. Change-Id: I6fe8b28fb885c34d3a9dd7d7bd52bf02de78f723 Signed-off-by: Francis Giraldeau Reviewed-on: https://git.eclipse.org/r/58255 Reviewed-by: Matthew Khouzam Tested-by: Matthew Khouzam Reviewed-by: Patrick Tasse Reviewed-by: Hudson CI --- diff --git a/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernelanalysis/LinuxValues.java b/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernelanalysis/LinuxValues.java index d07e3e6a0c..e78989418d 100644 --- a/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernelanalysis/LinuxValues.java +++ b/analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/kernelanalysis/LinuxValues.java @@ -5,9 +5,6 @@ * 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; @@ -23,11 +20,12 @@ 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 * + *
      * #define TASK_RUNNING 0
      * #define TASK_INTERRUPTIBLE 1
      * #define TASK_UNINTERRUPTIBLE 2
@@ -41,6 +39,7 @@ public interface LinuxValues {
      * #define TASK_WAKING 256
      * #define TASK_PARKED 512
      * #define TASK_STATE_MAX 1024
+     * 
*/ /** * The task is running normally, can be interrupted, in a syscall or user @@ -63,7 +62,7 @@ public interface LinuxValues { */ 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 @@ -71,6 +70,7 @@ public interface LinuxValues { * * Taken from lttng-module's lttng-statedump-impl.c: * + *
      * enum lttng_process_status {
      *     LTTNG_UNNAMED = 0,
      *     LTTNG_WAIT_FORK = 1,
@@ -81,7 +81,12 @@ public interface LinuxValues {
      *     LTTNG_RUN = 6,
      *     LTTNG_DEAD = 7,
      * };
+     * 
*/ + + /** Task is initially preempted */ int STATEDUMP_PROCESS_STATUS_WAIT_CPU = 2; + + /** Task is initially blocked */ int STATEDUMP_PROCESS_STATUS_WAIT = 5; }