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:
Anas Nashif 2018-01-18 16:50:08 -05:00 committed by Anas Nashif
commit 89c1ab6b18
3 changed files with 0 additions and 11 deletions

View file

@ -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
*

View file

@ -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_*/

View file

@ -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);
}
/**