Score:1

How to package control file generated by dynamic debug into kernel .deb file

pl flag

I modify linux source code by adding some log using dynamic debug function dev_dbg.I want to deploy the Customized kernel to several computers . so I do not want to waste time compiling kernel on each server.

Then i follow the step https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel to build kernel and get .deb file.

however after i install the kernel into a new computer, i found the file /sys/kernel/debug/dynamic_debug/control do not have the new records i added before.

how can i generate a new control file and pack it into the new kernel .deb file or anyting i can do?

Doug Smythies avatar
gn flag
What .debs did you install? Both linux-image and headers? And you booted to the new kernel, right? Show us the `pr_debug` statement you added. As long as the related module, if it is a module, is loaded, it should be in the list.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.