[Sound-open-firmware] [PATCH] Use tracev instead of trace for dai irq event.

Liam Girdwood liam.r.girdwood at intel.com
Mon Apr 2 11:25:39 CEST 2018


On Mon, 2018-04-02 at 10:51 +0800, yan.wang at linux.intel.com wrote:
> From: Yan Wang <yan.wang at linux.intel.com>
> 
> This event is in pipeline and will produce many trace data in a short
> time. It should use tracev to disable it by default.
> 
> Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
> Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
> 

Applied. The intention for trace is the pipeline/component copy() and IRQ trace
messages should be verbose due their high frequency.

In 1.2 I'd like to see a debugFS file that can enable/disable trace and verbose
trace per subsystem/component at runtime.

e.g.

echo off > /sys/kernel/debug/sof/trace_level
echo on > /sys/kernel/debug/sof/trace_level
echo src > /sys/kernel/debug/sof/trace_level
echo pipeline > /sys/kernel/debug/sof/trace_level
echo scheduler > /sys/kernel/debug/sof/trace_level

Liam
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


More information about the Sound-open-firmware mailing list