Fixes and improvements aimed at expanding the scope of the v4l2-tracer to stateful decoding without causing regressions for stateless decoding. Deborah Brouwer (8): v4l2-info/v4l2-tracer: add macro to mark the trace v4l2-tracer: replace buftype2s with val2s v4l2-tracer: remove buffers by type and index v4l2-tracer: remove compress_frame_count v4l2-tracer: get decoded bytesused from DQBUF v4l2-tracer: create an option to trace userspace args v4l2-tracer: stop retracing failed ioctls v4l2-tracer: auto generate flags for DECODER_CMD utils/common/v4l2-info.h | 7 + utils/v4l2-tracer/libv4l2tracer.cpp | 33 ++++- utils/v4l2-tracer/retrace-helper.cpp | 4 +- utils/v4l2-tracer/retrace.cpp | 168 +++++++++++------------ utils/v4l2-tracer/retrace.h | 2 +- utils/v4l2-tracer/trace-helper.cpp | 62 +++++---- utils/v4l2-tracer/trace.cpp | 20 +-- utils/v4l2-tracer/trace.h | 2 +- utils/v4l2-tracer/v4l2-tracer-common.cpp | 1 + utils/v4l2-tracer/v4l2-tracer-gen.pl | 21 +++ utils/v4l2-tracer/v4l2-tracer.cpp | 6 + 11 files changed, 198 insertions(+), 128 deletions(-) -- 2.41.0