diff options
author | Arve Hjønnevåg <arve@android.com> | 2011-02-04 22:38:14 -0800 |
---|---|---|
committer | Frank Li <Frank.Li@freescale.com> | 2012-09-26 13:23:41 +0800 |
commit | 019c28e12dc0f6cb196de13489cad65a90edd9b0 (patch) | |
tree | 37fc6ed02a18499a4a02548bd5b4af8561c54f87 /arch/x86/lguest | |
parent | c56e52b3453ea8d3b5e385b3cd914272cc2b6d88 (diff) |
ARM: etm: Return the entire trace buffer if it is empty after reset
On some SOCs the read and write pointer are reset when the chip
resets, but the trace buffer content is preserved. If the status
bits indicates that the buffer is empty and we have never started
tracing, assume the buffer is full instead. This can be useful
if the system rebooted from a watchdog reset.
Change-Id: Iaf21c2c329c6059004ee1d38e3dfff66d7d28029
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'arch/x86/lguest')
0 files changed, 0 insertions, 0 deletions