diff options
author | 2023-09-26 12:34:32 +0200 | |
---|---|---|
committer | 2023-09-26 12:28:51 -0400 | |
commit | b78234e65cad8c4899a2cfcc5e5cd8d33fce1b95 (patch) | |
tree | 542d54c1b41d65e517764de649bf70b39d8c45df /scripts/qapi/source.py | |
parent | simpletrace: refactor to separate responsibilities (diff) | |
download | qemu-b78234e65cad8c4899a2cfcc5e5cd8d33fce1b95.tar.xz qemu-b78234e65cad8c4899a2cfcc5e5cd8d33fce1b95.zip |
simpletrace: move logic of process into internal function
To avoid duplicate code depending on input types and to better handle
open/close of log with a context-manager, we move the logic of process into
_process.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Mads Ynddal <m.ynddal@samsung.com>
Message-id: 20230926103436.25700-11-mads@ynddal.dk
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions