![](https://secure.gravatar.com/avatar/24e6a8158be3c9b52253d878d1487123.jpg?s=120&d=mm&r=g)
On Thu, 2018-04-12 at 22:48 +0800, Yan Wang wrote:
On 4/12/2018 10:14 PM, Liam Girdwood wrote:
On Thu, 2018-04-12 at 15:46 +0800, yan.wang@linux.intel.com wrote:
From: Yan Wang yan.wang@linux.intel.com
Implement DMA trace level based on modules. User can switch on/off for DMA trace of one module.
Are there any updates to userspace rmbox tools to use this feature ?
No currently. IMHO, we could use "echo/cat /sys/kernel/debug/sof/trace_level" to control it. So need I also add another control path to control it by rmbox? Thanks.
yeah, we could have a debugFS file "trace_control" and we would send :-
echo "VOL1.1:pipeline:2"
format is component:class:level
This would set trace to level 2 on component "VOL1.1" for pipeline operations
cat trace_control
would list each widget and the trace level for that widget.
Liam
Yan Wang
Liam
Sound-open-firmware mailing list Sound-open-firmware@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware