]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit457c9bbe8d3b7332949140e46cf0402db69f8e06
tree5f02f81e262726730789998a32cb6516713dbafd
parent0bccde0bcdf441b87dfca8179fd1d2a35eef2e49
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