21 Feb
2014
21 Feb
'14
6:19 a.m.
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.