提交 bb0612a9 编写于 作者: T Takashi Sakamoto 提交者: Xie XiuQi

ALSA: firewire-lib: use the same print format for 'without_header' tracepoints

commit 5ef108c53e6efd695e32aad969638ccbc35b4be9 upstream.

An initial commit to add tracepoints for packets without CIP headers
uses different print formats for added tracepoints. However this is not
convenient for users/developers to prepare debug tools.

This commit uses the same format for the two tracepoints.

Cc: <stable@vger.kernel.org> # v4.12+
Fixes: b164d2fd ('ALSA: firewire_lib: add tracepoints for packets without CIP headers')
Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 11babf41
...@@ -131,7 +131,7 @@ TRACE_EVENT(in_packet_without_header, ...@@ -131,7 +131,7 @@ TRACE_EVENT(in_packet_without_header,
__entry->index = index; __entry->index = index;
), ),
TP_printk( TP_printk(
"%02u %04u %04x %04x %02d %03u %3u %3u %02u %01u %02u", "%02u %04u %04x %04x %02d %03u %02u %03u %02u %01u %02u",
__entry->second, __entry->second,
__entry->cycle, __entry->cycle,
__entry->src, __entry->src,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册