import org.eclipse.tracecompass.analysis.os.linux.core.trace.IKernelAnalysisEventLayout;
import org.eclipse.tracecompass.analysis.os.linux.core.trace.IKernelTrace;
import org.eclipse.tracecompass.internal.analysis.os.linux.core.Activator;
+import org.eclipse.tracecompass.internal.analysis.os.linux.core.Messages;
import org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel.Attributes;
import org.eclipse.tracecompass.statesystem.core.ITmfStateSystem;
import org.eclipse.tracecompass.statesystem.core.exceptions.AttributeNotFoundException;
/** Integer used to identify 'total' entries in the returned maps */
public static final Integer TOTAL = -1;
+ @Override
+ public @NonNull String getHelpText() {
+ String msg = Messages.KernelContextSwitchAnalysis_Description;
+ return msg != null ? msg : super.getHelpText();
+ }
+
+ @Override
+ public @NonNull String getHelpText(@NonNull ITmfTrace trace) {
+ return getHelpText();
+ }
+
@Override
protected ITmfStateProvider createStateProvider() {
ITmfTrace trace = checkNotNull(getTrace());
public class Messages extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.tracecompass.internal.analysis.os.linux.core.messages"; //$NON-NLS-1$
+ /**
+ * Description of the context swith analysis module for the help
+ */
+ public static @Nullable String KernelContextSwitchAnalysis_Description;
+
/**
* Description of the TID analysis module for the help
*/
# http://www.eclipse.org/legal/epl-v10.html
###############################################################################
+KernelContextSwitchAnalysis_Description=Store the amount of times a thread was scheduled in or out. This helps show thread thrashing.
TidAnalysisModule_Description=This analysis runs to accelerate all other analyses. It is used by the events table to fill the TID column.