linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [f2fs-dev] [PATCH 0/4] Detect and remove trace_printk
@ 2020-06-27  7:03 Nicolas Boichat
  2020-06-27  7:03 ` [f2fs-dev] [PATCH 1/4] usb: cdns3: gadget: Replace trace_printk by dev_dbg Nicolas Boichat
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Nicolas Boichat @ 2020-06-27  7:03 UTC (permalink / raw)
  To: linux-kernel
  Cc: Peter Chen, Guilherme G . Piccoli, Rafael Aquini, Sam Ravnborg,
	David Airlie, Joonas Lahtinen, Todor Tomov, Bjorn Andersson,
	David Howells, Tiezhu Yang, Will Deacon, Christian Brauner,
	Kees Cook, devel, Stephen Rothwell, Nicolas Boichat,
	Jayshri Pawar, Masahiro Yamada, Alexei Starovoitov,
	Jason Gunthorpe, Andy Gross, Tomas Winkler, Alexey Dobriyan,
	linux-media, Pawel Laszczak, Daniel Vetter, Arnd Bergmann,
	linux-arm-msm, intel-gfx, Steven Rostedt, Jani Nikula,
	Rodrigo Vivi, Jaegeuk Kim, Thomas Gleixner,
	Mauro Carvalho Chehab, Ingo Molnar, Roger Quadros, Felipe Balbi,
	Greg Kroah-Hartman, dri-devel, linux-usb, linux-f2fs-devel,
	Andy Shevchenko, Sakari Ailus, Colin Ian King, Andrew Morton,
	Divya Indi

trace_printk is meant as a debugging tool, and should not be
compiled into production code without specific debug Kconfig
options enabled or source code changes.

Patches 1 to 3 remove/disable trace_printk that should not
be enabled by default.

Patch 4 adds a config option that can be used to detect such
trace_printk at compile time (instead of printing a nasty
warning at runtime).

Nicolas Boichat (4):
  usb: cdns3: gadget: Replace trace_printk by dev_dbg
  media: atomisp: Replace trace_printk by pr_info
  media: camss: vfe: Use trace_printk for debugging only
  kernel/trace: Add TRACING_ALLOW_PRINTK config option

 drivers/gpu/drm/i915/Kconfig.debug              |  4 ++--
 .../media/platform/qcom/camss/camss-vfe-4-1.c   |  2 ++
 .../media/platform/qcom/camss/camss-vfe-4-7.c   |  2 ++
 drivers/staging/media/atomisp/pci/hmm/hmm.c     | 10 +++++-----
 drivers/usb/cdns3/gadget.c                      |  2 +-
 fs/f2fs/Kconfig                                 |  1 +
 include/linux/kernel.h                          | 17 ++++++++++++++++-
 kernel/trace/Kconfig                            | 10 ++++++++++
 samples/Kconfig                                 |  2 ++
 9 files changed, 41 insertions(+), 9 deletions(-)

-- 
2.27.0.212.ge8ba1cc988-goog



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-07-24  0:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-27  7:03 [f2fs-dev] [PATCH 0/4] Detect and remove trace_printk Nicolas Boichat
2020-06-27  7:03 ` [f2fs-dev] [PATCH 1/4] usb: cdns3: gadget: Replace trace_printk by dev_dbg Nicolas Boichat
2020-06-29  3:31   ` Peter Chen
     [not found]   ` <878sfanzft.fsf@kernel.org>
2020-07-24  0:17     ` Nicolas Boichat
2020-06-27  7:03 ` [f2fs-dev] [PATCH 2/4] media: atomisp: Replace trace_printk by pr_info Nicolas Boichat
2020-06-27  7:03 ` [f2fs-dev] [PATCH 3/4] media: camss: vfe: Use trace_printk for debugging only Nicolas Boichat
2020-06-27  7:03 ` [f2fs-dev] [PATCH v2 4/4] kernel/trace: Add TRACING_ALLOW_PRINTK config option Nicolas Boichat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).