1 /*******************************************************************************
\r
2 * FreeRTOS+Trace v2.3.0 Recorder Library
\r
3 * Percepio AB, www.percepio.com
\r
7 * Data types used by the trace recorder library.
\r
10 * This software is copyright Percepio AB. The recorder library is free for
\r
11 * use together with Percepio products. You may distribute the recorder library
\r
12 * in its original form, including modifications in trcPort.c and trcPort.h
\r
13 * given that these modification are clearly marked as your own modifications
\r
14 * and documented in the initial comment section of these source files.
\r
15 * This software is the intellectual property of Percepio AB and may not be
\r
16 * sold or in other ways commercially redistributed without explicit written
\r
17 * permission by Percepio AB.
\r
20 * The trace tool and recorder library is being delivered to you AS IS and
\r
21 * Percepio AB makes no warranty as to its use or performance. Percepio AB does
\r
22 * not and cannot warrant the performance or results you may obtain by using the
\r
23 * software or documentation. Percepio AB make no warranties, express or
\r
24 * implied, as to noninfringement of third party rights, merchantability, or
\r
25 * fitness for any particular purpose. In no event will Percepio AB, its
\r
26 * technology partners, or distributors be liable to you for any consequential,
\r
27 * incidental or special damages, including any lost profits or lost savings,
\r
28 * even if a representative of Percepio AB has been advised of the possibility
\r
29 * of such damages, or for any claim by any third party. Some jurisdictions do
\r
30 * not allow the exclusion or limitation of incidental, consequential or special
\r
31 * damages, or the exclusion of implied warranties or limitations on how long an
\r
32 * implied warranty may last, so the above limitations may not apply to you.
\r
34 * FreeRTOS+Trace is available as Free Edition and in two premium editions.
\r
35 * You may use the premium features during 30 days for evaluation.
\r
36 * Download FreeRTOS+Trace at http://www.percepio.com/products/downloads/
\r
38 * Copyright Percepio AB, 2012.
\r
40 ******************************************************************************/
\r
47 typedef uint16_t traceLabel;
\r
49 typedef uint8_t objectHandleType;
\r
51 typedef uint8_t traceObjectClass;
\r
53 #define TRACE_CLASS_QUEUE ((traceObjectClass)0)
\r
54 #define TRACE_CLASS_SEMAPHORE ((traceObjectClass)1)
\r
55 #define TRACE_CLASS_MUTEX ((traceObjectClass)2)
\r
56 #define TRACE_CLASS_TASK ((traceObjectClass)3)
\r
57 #define TRACE_CLASS_ISR ((traceObjectClass)4)
\r
59 typedef uint8_t traceKernelService;
\r
61 #define TRACE_KERNEL_SERVICE_TASK_CREATE ((traceKernelService)0)
\r
62 #define TRACE_KERNEL_SERVICE_TASK_DELETE ((traceKernelService)1)
\r
63 #define TRACE_KERNEL_SERVICE_TASK_DELAY ((traceKernelService)2)
\r
64 #define TRACE_KERNEL_SERVICE_PRIORITY_SET ((traceKernelService)3)
\r
65 #define TRACE_KERNEL_SERVICE_TASK_SUSPEND ((traceKernelService)4)
\r
66 #define TRACE_KERNEL_SERVICE_TASK_RESUME ((traceKernelService)5)
\r
67 #define TRACE_KERNEL_SERVICE_QUEUE_CREATE ((traceKernelService)6)
\r
68 #define TRACE_KERNEL_SERVICE_QUEUE_DELETE ((traceKernelService)7)
\r
69 #define TRACE_KERNEL_SERVICE_QUEUE_SEND ((traceKernelService)8)
\r
70 #define TRACE_KERNEL_SERVICE_QUEUE_RECEIVE ((traceKernelService)9)
\r
71 #define TRACE_KERNEL_SERVICE_QUEUE_PEEK ((traceKernelService)10)
\r
72 #define TRACE_KERNEL_SERVICE_MUTEX_CREATE ((traceKernelService)11)
\r
73 #define TRACE_KERNEL_SERVICE_MUTEX_DELETE ((traceKernelService)12)
\r
74 #define TRACE_KERNEL_SERVICE_MUTEX_GIVE ((traceKernelService)13)
\r
75 #define TRACE_KERNEL_SERVICE_MUTEX_TAKE ((traceKernelService)14)
\r
76 #define TRACE_KERNEL_SERVICE_SEMAPHORE_CREATE ((traceKernelService)15)
\r
77 #define TRACE_KERNEL_SERVICE_SEMAPHORE_DELETE ((traceKernelService)16)
\r
78 #define TRACE_KERNEL_SERVICE_SEMAPHORE_GIVE ((traceKernelService)17)
\r
79 #define TRACE_KERNEL_SERVICE_SEMAPHORE_TAKE ((traceKernelService)18)
\r