Commit | Line | Data |
---|---|---|
4208b510 AM |
1 | /******************************************************************************* |
2 | * Copyright (c) 2015, 2016 EfficiOS Inc., Alexandre Montplaisir | |
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.provisional.analysis.lami.core; | |
11 | ||
12 | /** | |
13 | * Strings used in the LAMI v1.0 protocol. | |
14 | * | |
15 | * The full spec is documented <a href= | |
16 | * "https://github.com/lttng/lami-spec/blob/d6129206184988b3fd7cccb76deace4a69c1443e/lami.md">here</a>. | |
17 | * | |
18 | * @author Alexandre Montplaisir | |
19 | * @noimplement This interface is not intended to be implemented by clients. | |
20 | */ | |
21 | @SuppressWarnings({ "javadoc", "nls" }) | |
22 | public interface LamiStrings { | |
23 | ||
24 | /* Metadata elements */ | |
25 | String MI_VERSION = "mi-version"; | |
26 | String TITLE = "title"; | |
27 | String UNIT = "unit"; | |
28 | String TABLE_CLASSES = "table-classes"; | |
29 | String COLUMN_DESCRIPTIONS = "column-descriptions"; | |
30 | String RESULTS = "results"; | |
31 | String TIME_RANGE = "time-range"; | |
32 | String CLASS = "class"; | |
33 | String DATA = "data"; | |
34 | String INHERIT = "inherit"; | |
35 | ||
36 | /* Data types */ | |
37 | String VALUE = "value"; | |
38 | String ID = "id"; | |
39 | String FD = "fd"; | |
40 | String NAME = "name"; | |
41 | String PATH = "path"; | |
42 | ||
43 | /* Time ranges */ | |
44 | String BEGIN = "begin"; | |
45 | String END = "end"; | |
46 | ||
47 | /* Process info */ | |
48 | String PID = "pid"; | |
49 | String TID = "tid"; | |
50 | ||
51 | /* IRQ stuff */ | |
52 | String NR = "nr"; | |
53 | String HARD = "hard"; | |
54 | ||
55 | /* Version object */ | |
56 | String MAJOR = "major"; | |
57 | String MINOR = "minor"; | |
58 | String PATCH = "patch"; | |
59 | String EXTRA = "extra"; | |
60 | ||
61 | /* Data classes */ | |
62 | String DATA_CLASS_UNKNOWN = "unknown"; | |
63 | String DATA_CLASS_RATIO = "ratio"; | |
64 | String DATA_CLASS_TIMESTAMP = "timestamp"; | |
65 | String DATA_CLASS_TIME_RANGE = "time-range"; | |
66 | String DATA_CLASS_DURATION = "duration"; | |
67 | String DATA_CLASS_SIZE = "size"; | |
68 | String DATA_CLASS_BITRATE = "bitrate"; | |
69 | String DATA_CLASS_SYSCALL = "syscall"; | |
70 | String DATA_CLASS_PROCESS = "process"; | |
71 | String DATA_CLASS_PATH = "path"; | |
72 | String DATA_CLASS_FD = "fd"; | |
73 | String DATA_CLASS_IRQ = "irq"; | |
74 | String DATA_CLASS_CPU = "cpu"; | |
75 | String DATA_CLASS_DISK = "disk"; | |
76 | String DATA_CLASS_PART = "part"; | |
77 | String DATA_CLASS_NETIF = "netif"; | |
78 | } |