Commit | Line | Data |
---|---|---|
ee8e0dc9 AM |
1 | /******************************************************************************* |
2 | * Copyright (c) 2012 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 | * Contributors: | |
10 | * Alexandre Montplaisir - Initial API and implementation | |
11 | ******************************************************************************/ | |
12 | ||
7c08c319 | 13 | package org.eclipse.linuxtools.internal.lttng2.kernel.core; |
ee8e0dc9 AM |
14 | |
15 | /** | |
16 | * This file defines all the known event and field names for LTTng 2.0 kernel | |
17 | * traces. | |
d85d2a6d | 18 | * |
ee8e0dc9 AM |
19 | * Once again, these should not be externalized, since they need to match |
20 | * exactly what the tracer outputs. If you want to localize them in a view, you | |
21 | * should do a mapping in the viewer itself. | |
d85d2a6d | 22 | * |
ee8e0dc9 | 23 | * @author alexmont |
d85d2a6d | 24 | * |
ee8e0dc9 | 25 | */ |
d85d2a6d | 26 | @SuppressWarnings({"javadoc", "nls"}) |
ee8e0dc9 AM |
27 | public abstract class LttngStrings { |
28 | ||
29 | /* Event names */ | |
30 | public static final String EXIT_SYSCALL = "exit_syscall"; | |
31 | public static final String IRQ_HANDLER_ENTRY = "irq_handler_entry"; | |
32 | public static final String IRQ_HANDLER_EXIT = "irq_handler_exit"; | |
33 | public static final String SOFTIRQ_ENTRY = "softirq_entry"; | |
34 | public static final String SOFTIRQ_EXIT = "softirq_exit"; | |
35 | public static final String SOFTIRQ_RAISE = "softirq_raise"; | |
36 | public static final String SCHED_SWITCH = "sched_switch"; | |
37 | public static final String SCHED_PROCESS_FORK = "sched_process_fork"; | |
38 | public static final String SCHED_PROCESS_EXIT = "sched_process_exit"; | |
39 | public static final String SCHED_PROCESS_FREE = "sched_process_free"; | |
ac5b890f | 40 | public static final String STATEDUMP_PROCESS_STATE = "lttng_statedump_process_state"; |
ee8e0dc9 AM |
41 | |
42 | public static final String SYSCALL_PREFIX = "sys_"; | |
43 | public static final String COMPAT_SYSCALL_PREFIX = "compat_sys_"; | |
44 | ||
ee8e0dc9 AM |
45 | /* Field names */ |
46 | public static final String IRQ = "irq"; | |
47 | public static final String COMM = "comm"; | |
ac5b890f | 48 | public static final String NAME = "name"; |
ee8e0dc9 | 49 | public static final String TID = "tid"; |
ac5b890f AM |
50 | public static final String PPID = "ppid"; |
51 | public static final String STATUS = "status"; | |
06552532 | 52 | public static final String VEC = "vec"; |
ee8e0dc9 AM |
53 | public static final String PREV_COMM = "prev_comm"; |
54 | public static final String PREV_TID = "prev_tid"; | |
55 | public static final String PREV_STATE = "prev_state"; | |
56 | public static final String NEXT_COMM = "next_comm"; | |
57 | public static final String NEXT_TID = "next_tid"; | |
58 | public static final String PARENT_TID = "parent_tid"; | |
59 | public static final String CHILD_COMM = "child_comm"; | |
60 | public static final String CHILD_TID = "child_tid"; | |
61 | } |