Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use print_hex_dump_debug() in imx_rpmsg_tty.c #20

Open
wants to merge 1 commit into
base: lf-6.6.y
Choose a base branch
from

Conversation

escherstair
Copy link

print_hex_dump_debug() uses print_hex_dump(KERN_DEBUG) if CONFIG_DYNAMIC_DEBUG is not set, but is uses Dynamic Debug if CONFIG_DYNAMIC_DEBUG is set.

Without this change, print_hex_dump(KERN_DEBUG) is used even if CONFIG_DYNAMIC_DEBUG is set, and so the end user cannot benefit from Dynamic Debug even it's enabled.

And all the messages sen to to rpmsg are logged into the journal without an easy way to disable this (the only way is to change the logging level for the whole kernel !!!!). Even when Dynamic Debu is enabled and available.

See support case 00636789

print_hex_dump_debug() uses print_hex_dump(KERN_DEBUG) if CONFIG_DYNAMIC_DEBUG is not set, but is uses Dynamic Debug if CONFIG_DYNAMIC_DEBUG is set.

Without this change, print_hex_dump(KERN_DEBUG) is used even if CONFIG_DYNAMIC_DEBUG is set, and so the end user cannot benefit from Dynamic Debug even it's enabled.

And all the messages sen to to rpmsg are logged into the journal without an easy way to disable this (the only way is to change the logging level for the whole kernel !!!!). Even when Dynamic Debu is enabled and available.

See support case 00636789
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.

1 participant