[RFC PATCH weston 0/2] screenshot/screenshooter: Add support to output multiple files

Tomohiro Komagata tomohiro.komagata.aj at gmail.com
Mon Jun 26 16:06:05 UTC 2017


Hi

This is a slight proposal but it is useful when we debug problems in some cases.

The screenshot/screenshooter always create same name files.
(wayland-screenshot.png and capture.wcap)
Therefore, they can output only 1 file.

However, JSON-timeline outputs the log files which has the date and time
in their name. (weston-timeline-%F_%H-%M-%S.log)
So, this patch set propose supporting to output multiple files
with the same way of JSON-timeline.


Tomohiro Komagata (2)
   clients: screenshot: Add support to output multiple files
   screenshooter: Add support to output multiple files

  clients/screenshot.c              | 14 ++++++++++++--
  compositor/weston-screenshooter.c | 13 ++++++++++++-
  shared/file-util.c                |  2 +-
  shared/file-util.h                |  3 +++
  4 files changed, 28 insertions(+), 4 deletions(-)
-- 
2.7.4



More information about the wayland-devel mailing list