Commit | Line | Data |
---|---|---|
ee8e0dc9 | 1 | /******************************************************************************* |
b46ea93c | 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 | ||
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 |
ee8e0dc9 | 24 | */ |
d85d2a6d | 25 | @SuppressWarnings({"javadoc", "nls"}) |
6d9da7b0 | 26 | public interface LttngStrings { |
ee8e0dc9 AM |
27 | |
28 | /* Event names */ | |
6d9da7b0 AM |
29 | static final String EXIT_SYSCALL = "exit_syscall"; |
30 | static final String IRQ_HANDLER_ENTRY = "irq_handler_entry"; | |
31 | static final String IRQ_HANDLER_EXIT = "irq_handler_exit"; | |
32 | static final String SOFTIRQ_ENTRY = "softirq_entry"; | |
33 | static final String SOFTIRQ_EXIT = "softirq_exit"; | |
34 | static final String SOFTIRQ_RAISE = "softirq_raise"; | |
35 | static final String SCHED_SWITCH = "sched_switch"; | |
d1b933e7 AM |
36 | static final String SCHED_WAKEUP = "sched_wakeup"; |
37 | static final String SCHED_WAKEUP_NEW = "sched_wakeup_new"; | |
6d9da7b0 AM |
38 | static final String SCHED_PROCESS_FORK = "sched_process_fork"; |
39 | static final String SCHED_PROCESS_EXIT = "sched_process_exit"; | |
40 | static final String SCHED_PROCESS_FREE = "sched_process_free"; | |
41 | static final String STATEDUMP_PROCESS_STATE = "lttng_statedump_process_state"; | |
ee8e0dc9 | 42 | |
6d9da7b0 AM |
43 | /* System call names */ |
44 | static final String SYSCALL_PREFIX = "sys_"; | |
45 | static final String COMPAT_SYSCALL_PREFIX = "compat_sys_"; | |
b46ea93c | 46 | static final String SYS_CLONE = "sys_clone"; |
ee8e0dc9 | 47 | |
ee8e0dc9 | 48 | /* Field names */ |
6d9da7b0 AM |
49 | static final String IRQ = "irq"; |
50 | static final String COMM = "comm"; | |
51 | static final String NAME = "name"; | |
bc19bff3 | 52 | static final String PID = "pid"; |
6d9da7b0 AM |
53 | static final String TID = "tid"; |
54 | static final String PPID = "ppid"; | |
55 | static final String STATUS = "status"; | |
56 | static final String VEC = "vec"; | |
57 | static final String PREV_COMM = "prev_comm"; | |
58 | static final String PREV_TID = "prev_tid"; | |
59 | static final String PREV_STATE = "prev_state"; | |
60 | static final String NEXT_COMM = "next_comm"; | |
61 | static final String NEXT_TID = "next_tid"; | |
62 | static final String PARENT_TID = "parent_tid"; | |
63 | static final String CHILD_COMM = "child_comm"; | |
64 | static final String CHILD_TID = "child_tid"; | |
ee8e0dc9 | 65 | } |