-
Notifications
You must be signed in to change notification settings - Fork 1.5k
syslog: use nx_syslog in kernel space #18129
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
base: master
Are you sure you want to change the base?
Conversation
|
@Kaben123 please follow the contribution guide, include the testing to prove it is working, etc. Seems like this commit never was tested, it is reporting primary errors like missing variables |
|
@Kaben123 fix: |
cederom
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align to Contributing Guidelines.
linguini1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introduce nx_syslog for kernel-space logging and redefine syslog as nx_syslog in kernel builds. Ensures efficient and consistent logging in the kernel while maintaining user-space compatibility. Signed-off-by: anjiahao <anjiahao@xiaomi.com>
03160f9 to
3f917da
Compare
Note: Please adhere to Contributing Guidelines.
Summary
This pull request introduces the use of
nx_syslogin kernel space, providing a kernel-space equivalent to the standardsyslog()function. The update ensures that system logging in the kernel is handled efficiently and consistently, while maintaining compatibility with user-space logging.nx_syslogfunction for kernel-space logging.syslogasnx_syslogwhen used in kernel space.Impact
nx_syslog.Testing
nx_syslogas expected.