mirror of https://github.com/thesofproject/sof.git
Move DMA tracing implementaion from src/audio to src/lib.
1. Move source and header file. 2. Change src/lib/Makefile.am and src/audio/Makefile.am. 3. Chnage header file path. Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
This commit is contained in:
parent
034b06f43a
commit
0156aa6865
|
@ -17,7 +17,6 @@ libaudio_a_SOURCES = \
|
|||
pipeline.c \
|
||||
pipeline_static.c \
|
||||
component.c \
|
||||
dma-trace.c \
|
||||
buffer.c
|
||||
|
||||
libaudio_a_CFLAGS = \
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include <uapi/ipc.h>
|
||||
#include <reef/audio/pipeline.h>
|
||||
#include <reef/audio/component.h>
|
||||
#include <reef/audio/dma-trace.h>
|
||||
#include <reef/dma-trace.h>
|
||||
|
||||
struct reef;
|
||||
struct dai_config;
|
||||
|
|
|
@ -6,6 +6,7 @@ libcore_a_SOURCES = \
|
|||
work.c \
|
||||
notifier.c \
|
||||
trace.c \
|
||||
dma-trace.c \
|
||||
schedule.c
|
||||
|
||||
libcore_a_CFLAGS = \
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
*/
|
||||
|
||||
#include <reef/trace.h>
|
||||
#include <reef/audio/dma-trace.h>
|
||||
#include <reef/dma-trace.h>
|
||||
#include <reef/ipc.h>
|
||||
#include <reef/reef.h>
|
||||
#include <reef/alloc.h>
|
||||
|
@ -172,7 +172,6 @@ int dma_trace_enable(struct dma_trace_data *d)
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
/* TODO: fix crash when enabled */
|
||||
d->enabled = 1;
|
||||
work_schedule_default(&d->dmat_work, DMA_TRACE_US);
|
||||
return 0;
|
|
@ -34,7 +34,7 @@
|
|||
#include <arch/cache.h>
|
||||
#include <platform/timer.h>
|
||||
#include <reef/lock.h>
|
||||
#include <reef/audio/dma-trace.h>
|
||||
#include <reef/dma-trace.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct trace {
|
||||
|
|
Loading…
Reference in New Issue