Commit | Line | Data |
---|---|---|
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 | |
8 | * | |
9 | * Contributors: | |
10 | * Alexandre Montplaisir - Initial API and implementation | |
11 | ******************************************************************************/ | |
12 | ||
e363eae1 | 13 | package org.eclipse.tracecompass.analysis.os.linux.core.kernelanalysis; |
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 | 28 | public interface Attributes { |
ee8e0dc9 AM |
29 | |
30 | /* First-level attributes */ | |
64522b6b AM |
31 | String CPUS = "CPUs"; |
32 | String THREADS = "Threads"; | |
ee8e0dc9 AM |
33 | |
34 | /* Sub-attributes of the CPU nodes */ | |
64522b6b AM |
35 | String CURRENT_THREAD = "Current_thread"; |
36 | String STATUS = "Status"; | |
19ed6598 MK |
37 | String SOFT_IRQS = "Soft_IRQs"; |
38 | String IRQS = "IRQs"; | |
ee8e0dc9 AM |
39 | |
40 | /* Sub-attributes of the Thread nodes */ | |
64522b6b | 41 | String PPID = "PPID"; |
6d9da7b0 | 42 | //static final String STATUS = "Status" |
64522b6b | 43 | String EXEC_NAME = "Exec_name"; |
dbc7991d AM |
44 | |
45 | /** @since 1.0 */ | |
64522b6b AM |
46 | String PRIO = "Prio"; |
47 | String SYSTEM_CALL = "System_call"; | |
ee8e0dc9 | 48 | |
ee8e0dc9 | 49 | /* Misc stuff */ |
64522b6b | 50 | String UNKNOWN = "Unknown"; |
ee8e0dc9 | 51 | } |