summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorHyeongJun An <sammiee5311@gmail.com>2026-10-21 20:25:54 +0900
committerTakashi Iwai <tiwai@suse.de>2026-10-21 14:59:58 +0200
commitc8c199e1b1b3bb0ef52a2a02d1ec87bee574ce13 (patch)
tree8386dd26d2e68f3b9444f1b71437c2141e6eafdd /tools/perf/scripts/python/bin/task-analyzer-record
parentd158ee133e3af1f11739b9d37dde754fdeb62a9f (diff)
downloadlwn-c8c199e1b1b3bb0ef52a2a02d1ec87bee574ce13.tar.gz
lwn-c8c199e1b1b3bb0ef52a2a02d1ec87bee574ce13.zip
selftests: ALSA: pcmtest: Compare all captured bytes in ni_capture
The ni_capture test reads rate * time frames into each channel buffer and then compares rate * time bytes. A frame is sample_size bytes per channel, so with S16_LE only the first half of each channel is checked. If the second half is wrong the test still passes. Compare rate * time * sample_size bytes per channel. Fixes: 10b98a4db11a ("selftests: ALSA: Add test for the 'pcmtest' driver") Assisted-by: Claude:claude-opus-5-5 Signed-off-by: HyeongJun An <sammiee5311@gmail.com> Link: https://patch.msgid.link/20261021112554.4037107-1-sammiee5311@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions