mbox series

[v2,0/2] v4l2-tracer: debug messages

Message ID cover.1681245372.git.deborah.brouwer@collabora.com
Headers show
Series v4l2-tracer: debug messages | expand

Message

Deborah Brouwer April 11, 2023, 8:54 p.m. UTC
Changes since v1:
- split into two patches
- first patch moves debug option-checking out
  of main code and into debug functions
- second patch introduces and applies the macro
  for printing file, function and line number

Deborah Brouwer (2):
  v4l2-tracer: print only if debugging option is set
  v4l2-tracer: add macros to print debug info

 utils/v4l2-tracer/libv4l2tracer.cpp      |  35 ++----
 utils/v4l2-tracer/retrace-helper.cpp     |  41 +++----
 utils/v4l2-tracer/retrace.cpp            | 129 ++++++++---------------
 utils/v4l2-tracer/trace-helper.cpp       |  52 +++------
 utils/v4l2-tracer/trace.cpp              |  15 +--
 utils/v4l2-tracer/v4l2-tracer-common.cpp |   6 +-
 utils/v4l2-tracer/v4l2-tracer-common.h   |  16 +++
 utils/v4l2-tracer/v4l2-tracer.cpp        |  45 +++-----
 8 files changed, 121 insertions(+), 218 deletions(-)