On 10/2/19 6:39 PM, Nikolay Borisov wrote:
On 2.10.19 г. 13:30 ч., Anand Jain wrote:
Its very helpful if we had logged the device scanner process name
to debug the race condition between the systemd-udevd scan and the
user initiated device forget command.
This patch adds scanned-by process name to the scan message.
Signed-off-by: Anand Jain <anand.j...@oracle.com>
Same effect can be achieved (for debugging purposes) if you have used
ftrace on device_list_add without needing to patch the kernel.
I'm somewhat indifferent whether this will be merged or not but I
personally don't see much value in it.
Its always good to provide a completely cooked log messages.
Half cooked ideas or the log messages leads to more questions
than answers.
Thanks, Anand