Support for upgrading Linux Tools features to Trace Compass
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.kernel.core / src / org / eclipse / tracecompass / internal / lttng2 / kernel / core / Attributes.java
CommitLineData
ee8e0dc9 1/*******************************************************************************
11252342 2 * Copyright (c) 2012, 2013 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
8 *
9 * Contributors:
10 * Alexandre Montplaisir - Initial API and implementation
11 ******************************************************************************/
12
9bc60be7 13package org.eclipse.tracecompass.internal.lttng2.kernel.core;
ee8e0dc9
AM
14
15/**
16 * This file defines all the attribute names used in the handler. Both the
17 * construction and query steps should use them.
d85d2a6d 18 *
ee8e0dc9
AM
19 * These should not be externalized! The values here are used as-is in the
20 * history file on disk, so they should be kept the same to keep the file format
21 * compatible. If a view shows attribute names directly, the localization should
22 * be done on the viewer side.
d85d2a6d 23 *
ee8e0dc9 24 * @author alexmont
d85d2a6d 25 *
ee8e0dc9 26 */
d85d2a6d 27@SuppressWarnings({"nls", "javadoc"})
6d9da7b0 28public interface Attributes {
ee8e0dc9
AM
29
30 /* First-level attributes */
6d9da7b0
AM
31 static final String CPUS = "CPUs";
32 static final String THREADS = "Threads";
33 static final String RESOURCES = "Resources";
ee8e0dc9
AM
34
35 /* Sub-attributes of the CPU nodes */
6d9da7b0
AM
36 static final String CURRENT_THREAD = "Current_thread";
37 static final String STATUS = "Status";
ee8e0dc9
AM
38
39 /* Sub-attributes of the Thread nodes */
6d9da7b0
AM
40 static final String PPID = "PPID";
41 //static final String STATUS = "Status"
42 static final String EXEC_NAME = "Exec_name";
43 static final String SYSTEM_CALL = "System_call";
ee8e0dc9 44
06552532 45 /* Attributes under "Resources" */
6d9da7b0
AM
46 static final String IRQS = "IRQs";
47 static final String SOFT_IRQS = "Soft_IRQs";
06552532 48
ee8e0dc9 49 /* Misc stuff */
6d9da7b0 50 static final String UNKNOWN = "Unknown";
ee8e0dc9 51}
This page took 0.052356 seconds and 5 git commands to generate.