ALSA: firewire-lib: add data_blocks/data_block_counter parameter to in_packet/out_pac...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 19 May 2019 10:01:06 +0000 (19:01 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 May 2019 05:46:37 +0000 (07:46 +0200)
commit64d0bf4d4977d18983bce6ad2868c9f75ec3a9f1
tree5f02f81e262726730789998a32cb6516713dbafd
parent4a10cecc41825becb3283be5e310759f4994f2ea
ALSA: firewire-lib: add data_blocks/data_block_counter parameter to in_packet/out_packet tracing events

Tracing events for packets without CIP header have a parameter of
data_blocks/data_block_counter, but events for packets with CIP header
don't. This is not good to unify these events.

This commit adds the missing parameters to the events. In timing to
probe 'in_packet' event, data_blocks and data_block_counter are not
calculated yet. This commit also changes the timing.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream-trace.h
sound/firewire/amdtp-stream.c