All of lore.kernel.org
 help / color / mirror / Atom feed
From: Deborah Brouwer <deborah.brouwer@collabora.com>
To: linux-media@vger.kernel.org
Cc: hverkuil@xs4all.nl, Deborah Brouwer <deborah.brouwer@collabora.com>
Subject: [PATCH v2 0/2] v4l2-tracer: debug messages
Date: Tue, 11 Apr 2023 13:54:56 -0700	[thread overview]
Message-ID: <cover.1681245372.git.deborah.brouwer@collabora.com> (raw)

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(-)

-- 
2.39.1


             reply	other threads:[~2023-04-11 20:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-11 20:54 Deborah Brouwer [this message]
2023-04-11 20:54 ` [PATCH v2 1/2] v4l2-tracer: print only if debugging option is set Deborah Brouwer
2023-04-11 20:54 ` [PATCH v2 2/2] v4l2-tracer: add macros to print debug info Deborah Brouwer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1681245372.git.deborah.brouwer@collabora.com \
    --to=deborah.brouwer@collabora.com \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.