os.linux: Add per cpu thread 0 modeling
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.core / src / org / eclipse / tracecompass / analysis / os / linux / core / kernel / Attributes.java
CommitLineData
ee8e0dc9 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2012, 2015 Ericsson
ee8e0dc9
AM
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
ee8e0dc9
AM
8 ******************************************************************************/
9
0f7a12d3 10package org.eclipse.tracecompass.analysis.os.linux.core.kernel;
ee8e0dc9
AM
11
12/**
13 * This file defines all the attribute names used in the handler. Both the
14 * construction and query steps should use them.
d85d2a6d 15 *
ee8e0dc9
AM
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.
d85d2a6d 20 *
0f7a12d3
AM
21 * @author Alexandre Montplaisir
22 * @since 2.0
ee8e0dc9 23 */
d85d2a6d 24@SuppressWarnings({"nls", "javadoc"})
6d9da7b0 25public interface Attributes {
ee8e0dc9
AM
26
27 /* First-level attributes */
64522b6b
AM
28 String CPUS = "CPUs";
29 String THREADS = "Threads";
ee8e0dc9
AM
30
31 /* Sub-attributes of the CPU nodes */
64522b6b
AM
32 String CURRENT_THREAD = "Current_thread";
33 String STATUS = "Status";
19ed6598
MK
34 String SOFT_IRQS = "Soft_IRQs";
35 String IRQS = "IRQs";
ee8e0dc9
AM
36
37 /* Sub-attributes of the Thread nodes */
64522b6b 38 String PPID = "PPID";
6d9da7b0 39 //static final String STATUS = "Status"
64522b6b 40 String EXEC_NAME = "Exec_name";
dbc7991d
AM
41
42 /** @since 1.0 */
64522b6b
AM
43 String PRIO = "Prio";
44 String SYSTEM_CALL = "System_call";
ee8e0dc9 45
ee8e0dc9 46 /* Misc stuff */
64522b6b 47 String UNKNOWN = "Unknown";
8a0bbebf
MJ
48 String THREAD_0_PREFIX = "0_";
49 String THREAD_0_SEPARATOR = "_";
ee8e0dc9 50}
This page took 0.073161 seconds and 5 git commands to generate.