Commit | Line | Data |
---|---|---|
17baffe2 MD |
1 | /* |
2 | * lttng-type-list.h | |
3 | * | |
886d51a3 | 4 | * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
17baffe2 | 5 | * |
886d51a3 MD |
6 | * This library is free software; you can redistribute it and/or |
7 | * modify it under the terms of the GNU Lesser General Public | |
8 | * License as published by the Free Software Foundation; only | |
9 | * version 2.1 of the License. | |
10 | * | |
11 | * This library is distributed in the hope that it will be useful, | |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | * Lesser General Public License for more details. | |
15 | * | |
16 | * You should have received a copy of the GNU Lesser General Public | |
17 | * License along with this library; if not, write to the Free Software | |
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
17baffe2 MD |
19 | */ |
20 | ||
40652b65 MD |
21 | /* Type list, used to create metadata */ |
22 | ||
40652b65 MD |
23 | /* Enumerations */ |
24 | TRACE_EVENT_ENUM(hrtimer_mode, | |
25 | V(HRTIMER_MODE_ABS), | |
26 | V(HRTIMER_MODE_REL), | |
27 | V(HRTIMER_MODE_PINNED), | |
28 | V(HRTIMER_MODE_ABS_PINNED), | |
29 | V(HRTIMER_MODE_REL_PINNED), | |
1d12cebd | 30 | R(HRTIMER_MODE_UNDEFINED, 0x04, 0x20), /* Example (to remove) */ |
40652b65 MD |
31 | ) |
32 | ||
33 | TRACE_EVENT_TYPE(hrtimer_mode, enum, unsigned char) |