RTEMS  5.1
rtems-trace-buffer-vars.h
Go to the documentation of this file.
1 
8 /*
9  * Copyright (c) 2015 Chris Johns <chrisj@rtems.org>
10  *
11  * The license and distribution terms for this file may be
12  * found in the file LICENSE in this distribution or at
13  * http://www.rtems.org/license/LICENSE.
14  */
15 
16 #if !defined (_RTEMS_TRACE_BUFFER_VARS_H_)
17 #define _RTEMS_TRACE_BUFFER_VARS_H_
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif /* __cplusplus */
22 
32 typedef struct
33 {
34  uint32_t size;
35  const char* const type;
37 
38  typedef struct {
39  uint32_t argc;
40  const __rtld_trace_sig_arg* args;
42 
45 
49 uint32_t rtems_trace_names_size (void);
50 
54 const char* rtems_trace_names (const uint32_t index);
55 
59 uint32_t rtems_trace_enables_size (void);
60 
65 uint32_t rtems_trace_enables (const uint32_t index);
66 
70 uint32_t rtems_trace_triggers_size (void);
71 
76 uint32_t rtems_trace_triggers (const uint32_t index);
77 
81 const rtems_trace_sig* rtems_trace_signatures (const uint32_t index);
82 
86 bool rtems_trace_enable_set(const uint32_t index);
87 
91 bool rtems_trace_trigger_set(const uint32_t index);
92 
97 
101 uint32_t rtems_trace_buffering_mode (void);
102 
106 uint32_t rtems_trace_buffering_buffer_size (void);
107 
111 uint32_t* rtems_trace_buffering_buffer (void);
112 
116 uint32_t rtems_trace_buffering_buffer_in (void);
117 
122 
127 
132 void rtems_trace_buffering_start (void);
133 
137 void rtems_trace_buffering_stop (void);
138 
142 void rtems_trace_buffering_resume (void);
143 
144 #ifdef __cplusplus
145 }
146 #endif /* __cplusplus */
147 
148 #endif
void rtems_trace_buffering_resume(void)
Definition: rtems-trace-buffer-vars.c:174
uint32_t rtems_trace_buffering_buffer_size(void)
Definition: rtems-trace-buffer-vars.c:109
uint32_t rtems_trace_names_size(void)
Definition: rtems-trace-buffer-vars.c:43
uint32_t rtems_trace_triggers(const uint32_t index)
Definition: rtems-trace-buffer-vars.c:73
uint32_t rtems_trace_triggers_size(void)
Definition: rtems-trace-buffer-vars.c:67
void rtems_trace_buffering_start(void)
Definition: rtems-trace-buffer-vars.c:154
bool rtems_trace_enable_set(const uint32_t index)
Definition: rtems-trace-buffer-vars.c:85
uint32_t rtems_trace_enables_size(void)
Definition: rtems-trace-buffer-vars.c:55
bool rtems_trace_buffering_present(void)
Definition: rtems-trace-buffer-vars.c:97
bool rtems_trace_trigger_set(const uint32_t index)
Definition: rtems-trace-buffer-vars.c:91
Definition: rtems-trace-buffer-vars.h:32
void rtems_trace_buffering_stop(void)
Definition: rtems-trace-buffer-vars.c:165
uint32_t rtems_trace_buffering_buffer_in(void)
Definition: rtems-trace-buffer-vars.c:121
bool rtems_trace_buffering_finished(void)
Definition: rtems-trace-buffer-vars.c:132
bool rtems_trace_buffering_triggered(void)
Definition: rtems-trace-buffer-vars.c:143
uint32_t rtems_trace_buffering_mode(void)
Definition: rtems-trace-buffer-vars.c:103
uint32_t rtems_trace_enables(const uint32_t index)
Definition: rtems-trace-buffer-vars.c:61
Definition: rtems-trace-buffer-vars.h:38
uint32_t * rtems_trace_buffering_buffer(void)
Definition: rtems-trace-buffer-vars.c:115
const char * rtems_trace_names(const uint32_t index)
Definition: rtems-trace-buffer-vars.c:49
unsigned size
Definition: tte.h:74
const rtems_trace_sig * rtems_trace_signatures(const uint32_t index)
Definition: rtems-trace-buffer-vars.c:79