ring_buffer: remove broken object_tracing support
The library has incomplete tracing support. Given that we are not a true kernel object, remove support instead of fixing it. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
72046a8abc
commit
89c1ab6b18
3 changed files with 0 additions and 11 deletions
|
@ -28,8 +28,6 @@ extern struct k_msgq *_trace_list_k_msgq;
|
|||
extern struct k_mbox *_trace_list_k_mbox;
|
||||
extern struct k_pipe *_trace_list_k_pipe;
|
||||
|
||||
extern struct ring_buf *_trace_list_sys_ring_buf;
|
||||
|
||||
/**
|
||||
* @def SYS_TRACING_HEAD
|
||||
*
|
||||
|
|
|
@ -97,9 +97,5 @@
|
|||
} \
|
||||
while (0)
|
||||
|
||||
struct ring_buf;
|
||||
|
||||
extern struct ring_buf *_trace_list_sys_ring_buf;
|
||||
|
||||
#endif /*CONFIG_OBJECT_TRACING*/
|
||||
#endif /*_OBJECT_TRACING_COMMON_H_*/
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#define __RING_BUFFER_H__
|
||||
|
||||
#include <kernel.h>
|
||||
#include <debug/object_tracing_common.h>
|
||||
#include <misc/util.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
@ -33,9 +32,6 @@ struct ring_buf {
|
|||
u32_t size; /**< Size of buf in 32-bit chunks */
|
||||
u32_t *buf; /**< Memory region for stored entries */
|
||||
u32_t mask; /**< Modulo mask if size is a power of 2 */
|
||||
#ifdef CONFIG_OBJECT_TRACING
|
||||
struct ring_buf *__next;
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -118,7 +114,6 @@ static inline void sys_ring_buf_init(struct ring_buf *buf, u32_t size,
|
|||
buf->mask = 0;
|
||||
}
|
||||
|
||||
SYS_TRACING_OBJ_INIT(sys_ring_buf, buf);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue