24 Feb
2014
24 Feb
'14
8:50 p.m.
On Fri, 2014-02-21 at 14:19 +0900, Mark Brown wrote:
On Thu, Feb 20, 2014 at 09:48:45PM +0000, Liam Girdwood wrote:
Provide a trace mechanism for debugging Haswell/Broadwell specific SST IPC messages.
Applied, thanks.
- TP_STRUCT__entry(
__field( unsigned int, status )
__field( unsigned int, mask )
- ),
- TP_fast_assign(
__entry->status = status;
__entry->mask = mask;
- ),
- TP_printk("status 0x%8.8x mask 0x%8.8x",
(unsigned int)__entry->status, (unsigned int)__entry->mask)
I found out the other day that the trace infrastructure has a neat helper called __print_symbolic which can decode things - might be helpful for some of these, though I don't think it does bitfields it might help with making the IPC messages more legible.
Interesting, will be useful for sure. Will be worth looking at when we integrate more features in the FW (and improve the trace SNR at the same time) :)
Liam