how can i print something (for debugging purpose) for the console inside linux system call?
Or is there some kind of not-so-convenient way to debug kernel code?
thank
The accepted method of printing inside the kernel is through printk().
printk()
You should also check various modifiers on printk (for example, KERNEL_DEBUG), which will control where / how messages are printed, including whether they are printed on all active terminals or only in the system buffer
Source: https://habr.com/ru/post/1772821/More articles:Any good tutorial for Silverlight video games? - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1772817/how-we-can-add-write-access-to-a-directory-programmatically-in-c&usg=ALkJrhhTDEbdU__EqGJ5QD0CfwHJ1IXzpgTFS 2010 Gated Check-in Build leaves me with a .vspscc file with pending changes - tfsindex page not showing after login - phpHow to change file permissions using WMI? - windowsHow to avoid a huge query result that throws an OutOfMemoryException - serviceHow to explain why a developer should avoid case statements and create new classes? - language-agnosticWhat is a CSS structure? - cssBuilding problem in my asp.net MVC web application for dynamic data - asp.net-mvcHow to connect client side Python socket to Node.js / socket.io? - pythonAll Articles