From: Nicolas Boichat > Sent: 21 August 2020 13:07 ... > > You might also want a #define that can set temporarily > > to enable traces in a specific file/module even though > > CONFIG_TRACE=n. > > I don't understand how traces are supposed to work with CONFIG_TRACE=n? Probably because I meant something different :-) You want the kernel built so that there are no (expanded) calls to trace_printf() but with support for modules that contain them. Then I can load a module into a distro kernel that contains trace_printf() calls for debug testing. Which is why I was suggesting a config option that only rand-config builds would ever set that would cause the calls to generate compile-time errors. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales) _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel