[libcamera-devel] [PATCH v2 0/7] tracepoints: request: Improve request tracepoints
Paul Elder
paul.elder at ideasonboard.com
Tue Dec 13 10:15:51 CET 2022
This patch series contains miscellaneous improvements to the tracepoints
for Requests, which were useful in debugging the deconstruction of
Requests vs FrameBuffers [1].
v2 Cleans up some of the existing tracepoints a bit more, and adds even
more tracepoints, notably to v4l2 and pipeline.
[1] https://bugs.libcamera.org/show_bug.cgi?id=171
Paul Elder (7):
tracepoints: request: Use public Request pointer in all tracepoints
tracepoints: request: Add event class for request and buffer
tracepoints: request: Add tracepoint for addBuffer
tracepoints: request: Add flags to request_reuse tracepoint
tracepoints: v4l2: Add tracepoints for tracking buffer lifetime
tracepoints: pipeline: Add tracepoint for pipe stop
tracepoints: pipeline: Add tracepoint for bufferReady
.../internal/tracepoints/meson.build | 2 +
.../internal/tracepoints/pipeline.tp | 31 ++++++++
.../libcamera/internal/tracepoints/request.tp | 57 ++++++++++----
.../libcamera/internal/tracepoints/v4l2.tp | 77 +++++++++++++++++++
.../internal/tracepoints/v4l2_enums.tp | 16 ++++
src/libcamera/pipeline/vimc/vimc.cpp | 3 +
src/libcamera/pipeline_handler.cpp | 2 +
src/libcamera/request.cpp | 13 ++--
src/libcamera/v4l2_videodevice.cpp | 9 +++
9 files changed, 189 insertions(+), 21 deletions(-)
create mode 100644 include/libcamera/internal/tracepoints/v4l2.tp
create mode 100644 include/libcamera/internal/tracepoints/v4l2_enums.tp
--
2.35.1
More information about the libcamera-devel
mailing list