5 Dec
2017
5 Dec
'17
10:21 p.m.
On Tue, 2017-12-05 at 18:46 +0800, yan.wang@linux.intel.com wrote:
From: Yan Wang yan.wang@linux.intel.com
The purpose of checking half fullness is sending trace data as soon as possible. It will avoid local DMA trace buffer full and unsent trace data overwritten. If DMA trace copying is running currently, it is unnecessary to checking half fullness local DMA trace buffer.
The following is implementation details:
- Add one flag in DMA trace data strcuture.
- Set/unset this flag in trace_work() callback.
- Add checking for this flag in dtrace_event().
Signed-off-by: Yan Wang yan.wang@linux.intel.com
Applied and rewrote subject.