Skip to content
Advertisement

Tag: printk

How to print full trace file of trace_printk in ftrace?

I am using trace_printk() to print some numbers (they are around a million number). However when I check /sys/kernel/debug/tracing/trace … only a part of the full range is printed. Can anyone suggest me how to increase the buffer size or any way to print the full range via any option. *Note: I don’t care about the other output of ftrace.

Linux kernel : logging to a specific file

I am trying to edit the linux kernel. I want some information to be written out to a file as a part of the debugging process. I have read about the printk function. But i would like to add text to a particular file (file other from the default files that keep debug logs). To cut it short: I would

Advertisement