[Spice-devel] [PATCH v2 0/4] Implement record/replay

Frediano Ziglio fziglio at redhat.com
Mon Aug 17 08:34:13 PDT 2015


With this series of patches is possible to record what happens to
spice-server and replay it.
The main purpose is debugging.
Note that these patches are quite old and none is mine (I just did
some minor changes).
These are part of a long series of patches.

Changes from v1:
- merged some later pacthes by Marc-André Lureau;
- removed first patch that added an argument to normal callbacks;
- removed record_clock_id, not use anymore;
- fixed start of record file;
- register callback only if we need to register something;
- moved exported symbols to new version, removed old ones;
- some typos;
- fixed some comments for program arguments;
- use glib functions for debug/warnings.

Alon Levy (4):
  server/dispatcher: add extra_dispatcher, hack for red_record
  server/red_{record, replay}.[ch]: introduce
  server/red_worker: record to SPICE_WORKER_RECORD_FILENAME
  server/tests/replay: introduce

 server/Makefile.am       |    2 +
 server/dispatcher.c      |   10 +
 server/dispatcher.h      |   12 +
 server/make_recorder.sh  |   13 +
 server/red_record_qxl.c  |  827 ++++++++++++++++++++++++++++++
 server/red_record_qxl.h  |   34 ++
 server/red_replay_qxl.c  | 1247 ++++++++++++++++++++++++++++++++++++++++++++++
 server/red_replay_qxl.h  |   34 ++
 server/red_worker.c      |   42 +-
 server/spice-server.syms |    4 +
 server/tests/Makefile.am |    9 +
 server/tests/replay.c    |  346 +++++++++++++
 12 files changed, 2577 insertions(+), 3 deletions(-)
 create mode 100755 server/make_recorder.sh
 create mode 100644 server/red_record_qxl.c
 create mode 100644 server/red_record_qxl.h
 create mode 100644 server/red_replay_qxl.c
 create mode 100644 server/red_replay_qxl.h
 create mode 100644 server/tests/replay.c

-- 
2.4.3



More information about the Spice-devel mailing list