b5e50b0eb405b5bc84b6b23d18a55d1b435b5456
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.core / src / org / eclipse / tracecompass / internal / analysis / os / linux / core / kernel / Attributes.java
1 /*******************************************************************************
2 * Copyright (c) 2012, 2015 Ericsson
3 *
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
8 ******************************************************************************/
9
10 package org.eclipse.tracecompass.internal.analysis.os.linux.core.kernel;
11
12 /**
13 * This file defines all the attribute names used in the handler. Both the
14 * construction and query steps should use them.
15 *
16 * These should not be externalized! The values here are used as-is in the
17 * history file on disk, so they should be kept the same to keep the file format
18 * compatible. If a view shows attribute names directly, the localization should
19 * be done on the viewer side.
20 *
21 * @author Alexandre Montplaisir
22 * @since 2.0
23 */
24 @SuppressWarnings({"nls", "javadoc"})
25 public interface Attributes {
26
27 /* First-level attributes */
28 String CPUS = "CPUs";
29 String THREADS = "Threads";
30
31 /* Sub-attributes of the CPU nodes */
32 String CURRENT_THREAD = "Current_thread";
33 String STATUS = "Status";
34 String SOFT_IRQS = "Soft_IRQs";
35 String IRQS = "IRQs";
36
37 /* Sub-attributes of the Thread nodes */
38 String PPID = "PPID";
39 //static final String STATUS = "Status"
40 String EXEC_NAME = "Exec_name";
41
42 /** @since 1.0 */
43 String PRIO = "Prio";
44 String SYSTEM_CALL = "System_call";
45
46 /* Misc stuff */
47 String UNKNOWN = "Unknown";
48 String THREAD_0_PREFIX = "0_";
49 String THREAD_0_SEPARATOR = "_";
50 }
This page took 0.042118 seconds and 4 git commands to generate.