Commit Graph

18 Commits

Author SHA1 Message Date
Tomasz Lauda 78ad1ccce5 rmbox: Close opened files
Input and output files in trace_read function should be closed after using.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-03-29 13:46:36 +01:00
Liam Girdwood 46a5e80fc5 rmbox: remove legacy code and use sof debugFS by default.
Dump error log by default with no args.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-03-06 14:11:13 +00:00
Ranjani Sridharan b4293de4cc rmbox: show error/xrun logs in red for easy identification
This patch adds changes to rmbox to make it easier to spot
errors/xruns in a long trace

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-03-01 19:38:22 +00:00
Liam Girdwood 44bced3781 rmbox: use 64bit trace data
Update trace to align with FW and use 64bit data size.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-10-19 22:24:58 +01:00
Liam Girdwood cd0eb84aca rmbox: move trace into separate parser function to ease future work.
Move trace handler into separate function to make it easier to add new
trace features. Make sure we only support 64 bit timestamps.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-10-13 16:41:29 +01:00
Yan Wang 082b84ac61 Use new output format for 64-bit timestamp.
1. Use [second.microsecond] for 64-bit timestamp.
2. Keep previous format for 32-bit timestamp.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
2017-10-13 11:13:39 +01:00
Yan Wang 7f98c95c2a Add option "-t" to process DMA trace event with 64-bit tempstamp.
1. Timestamp is changed to 64-bit width.
2. Trace event is still 32-bit. High 32-bit of 64-bit is ignored.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
2017-10-12 22:40:57 +01:00
Liam Girdwood f00e8884dd rmbox: check for non printable chars in trace.
Non printable means trace is a value.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-09-04 16:35:01 +01:00
Liam Girdwood 6bb4da421c rmbox: Add support for floating point clock freq in MHz
Allow timestamp clock frequency to be set in MHz

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-08-30 22:55:57 +01:00
Liam Girdwood 7a1105772d rmbox: fix help output to show all options
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-08-30 22:55:57 +01:00
Liam Girdwood 7fb7598bc3 rmbox: Add EQs, SRC and Tone components to trace output
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-08-24 17:10:49 +01:00
Liam Girdwood 9b241ae555 rmbox: make sure we close all files
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-06-15 14:36:24 +01:00
Liam Girdwood 1b0a663b0d rmbox: add support for different CPU clock speeds
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-06-09 14:55:36 +01:00
Liam Girdwood 778d7209cb rmbox: return -EIO and bail on any file open() errors
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-06-09 14:37:14 +01:00
Liam Girdwood e03147d755 rmbox: add support for new trace classes.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-06-09 14:36:33 +01:00
Liam Girdwood b1d2434696 rmbox: use SSP 19.2M clock for trace
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-02-28 12:14:48 +00:00
Liam Girdwood 74512df085 rmbox: add support for snapshots of HW state
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2017-02-28 12:14:39 +00:00
Liam Girdwood 04a535d508 rimage: Initial import of rimage firmware tool.
rimage converts ELF binaries to the firmware image file format understood
by the kernel audio drivers.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2016-10-07 10:48:49 +01:00