is there a simplest possible way to enable linux kernel driver dev_dbg
debug messages (actually it's a trace
style messages) hopefully without messing up with the kernel patching/recompiling or the driver implementing something extra like debugfs
? perhaps there is a way to enable something SIMPLE in the kernel (like one flag?) triggering particular driver or all drivers dev_dbg (it can be filtered with the `dmesg|grep "driverName") output?
the kernel version is 4.14
.
there is NO syslog/daemonlog/system
log running at all. there is NO network interface and only single serial port is available. the target system is very slow and is very compact so there is NO WAY to add syslog/etc, there is nothing but dmesg where exactly would be good to see the output of the lines like:
dev_dbg(&client->dev, "bla bla bla\n");
some posts already suggested to add debug
keyword for the bootargs
kernel parameters unfortunately wasn't enough.
the outputs like dev_info
are getting into the dmesg with no issue so it's definitely something close. thanks