Skip to content

dls: Improve buffer address logging for debugging#57

Merged
quic-aditrath merged 1 commit intoAudioReach:masterfrom
quic-aditrath:dls_logging_update
Apr 6, 2026
Merged

dls: Improve buffer address logging for debugging#57
quic-aditrath merged 1 commit intoAudioReach:masterfrom
quic-aditrath:dls_logging_update

Conversation

@quic-aditrath
Copy link
Copy Markdown
Contributor

Replace buffer pool start address with current buffer pointer address in DLS logging messages to provide more meaningful debugging information.

The previous implementation logged the buffer pool's start address, which remained constant and provided limited diagnostic value. Update the log messages to display the actual buffer pointer addresses being used, making it easier to track individual buffer allocations and returns during debugging.

Replace buffer pool start address with current buffer pointer address
in DLS logging messages to provide more meaningful debugging
information.

The previous implementation logged the buffer pool's start address,
which remained constant and provided limited diagnostic value. Update
the log messages to display the actual buffer pointer addresses being
used, making it easier to track individual buffer allocations and
returns during debugging.

Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
@quic-aditrath quic-aditrath requested review from a team February 5, 2026 03:47
@essi-kode
Copy link
Copy Markdown

Would it be more useful to have both addresses?

@quic-aditrath
Copy link
Copy Markdown
Contributor Author

Would it be more useful to have both addresses?

Buffer start address is already logged as part of DLS_PARAM_ID_CONFIG_BUFFER cmd in dls_set_param_config_buffer() (see: dls_set_param_config_buffer.

Additionally, since buffer acquire and release are frequent operations, do we really need to log them again, or would this be redundant with the existing logs?

@essi-kode
Copy link
Copy Markdown

I think what you have works better. We can continue with that approach

@quic-aditrath quic-aditrath merged commit e3ae9f1 into AudioReach:master Apr 6, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants