Skip to content

Commit

Permalink
xtensa: tools: Update logging tools for the new buffer
Browse files Browse the repository at this point in the history
Update logging tools to have smaller buffer and more log lines.
  • Loading branch information
finikorg committed Aug 22, 2019
1 parent 0698786 commit 2695d1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions boards/xtensa/up_squared_adsp/tools/logtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#OFFSET = 0x8000
OFFSET = 0x0
MAGIC = 0x55aa
SLOT_NUM = 32
SLOT_LEN = 256
SLOT_LEN = 64
SLOT_NUM = int(8192 / SLOT_LEN)

def read_id(f):
buf = f.read(2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ char *sof_etrace_path = "/sys/kernel/debug/sof/etrace";
char *qemu_etrace_path = "/dev/shm/qemu-bridge-etrace-mem";

unsigned long int default_trace_size = 0x2000;
unsigned long int default_buf_size = 256;
unsigned long int default_buf_size = 64;

void usage(char *prog_name)
{
Expand Down

0 comments on commit 2695d1a

Please sign in to comment.