From: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, stefanha@redhat.com, michael.roth@amd.com,
jsnow@redhat.com, hreitz@redhat.com, kwolf@redhat.com,
pbonzini@redhat.com
Subject: Re: [PATCH v4 3/3] meson: generate trace events for qmp commands
Date: Tue, 25 Jan 2022 14:03:27 +0300 [thread overview]
Message-ID: <fd9a18be-1add-89c2-3da3-fa72c5419d44@virtuozzo.com> (raw)
In-Reply-To: <87ilu82jtk.fsf@dusky.pond.sub.org>
25.01.2022 13:25, Markus Armbruster wrote:
> Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> writes:
>
>> 1. Add --no-trace-events to suppress trace events generation in some
>> cases, and make trace events be generated by default.
>> 2. Add corresponding .trace-events files as outputs in qapi_files
>> custom target
>> 3. Define global qapi_trace_events list of .trace-events file targets,
>> to fill in trace/qapi.build and to use in trace/meson.build
>> 4. In trace/meson.build use the new array as an additional source of
>> .trace_events files to be processed
>>
>> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
>> ---
>> docs/devel/qapi-code-gen.rst | 23 +++++++++++++++++++++--
>
> The doc update isn't mentioned in the commit message.
>
>> meson.build | 3 +++
>> qapi/meson.build | 7 +++++++
>> qga/meson.build | 11 ++++++++++-
>> scripts/qapi/main.py | 10 +++++++---
>> tests/meson.build | 11 ++++++++++-
>> trace/meson.build | 11 ++++++++---
>> 7 files changed, 66 insertions(+), 10 deletions(-)
>
> This commit consists of a small QAPI code generator change, build system
> work to put it to use, and QAPI documentation update for the series'
> feature.
>
> I'd reshuffle as follows:
>
> * Squash the main.py change into the previous commit.
>
> * Split off the doc update into its own commit.
>
> This way, build system experts can provide an R-by in good conscience
> without reviewing the doc update, and vice versa.
>
But I think this way build will fail on previous commit. Or we should still keep trace-generation disabled in previous commit, and enable it only together with meson changes.
--
Best regards,
Vladimir
next prev parent reply other threads:[~2022-01-25 11:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-21 16:22 [PATCH v4 0/3] trace qmp commands Vladimir Sementsov-Ogievskiy
2022-01-21 16:22 ` [PATCH v4 1/3] scripts/qapi/gen.py: add FOO.trace-events output module Vladimir Sementsov-Ogievskiy
2022-01-21 17:56 ` John Snow
2022-01-25 9:07 ` Markus Armbruster
2022-01-25 9:50 ` Vladimir Sementsov-Ogievskiy
2022-01-26 6:51 ` Markus Armbruster
2022-01-21 16:22 ` [PATCH v4 2/3] scripts/qapi/commands: gen_commands(): add add_trace_events arg Vladimir Sementsov-Ogievskiy
2022-01-25 10:02 ` Markus Armbruster
2022-01-25 10:20 ` Vladimir Sementsov-Ogievskiy
2022-01-21 16:22 ` [PATCH v4 3/3] meson: generate trace events for qmp commands Vladimir Sementsov-Ogievskiy
2022-01-21 17:59 ` John Snow
2022-01-25 10:25 ` Markus Armbruster
2022-01-25 11:03 ` Vladimir Sementsov-Ogievskiy [this message]
2022-01-25 11:13 ` Vladimir Sementsov-Ogievskiy
2022-01-25 11:31 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fd9a18be-1add-89c2-3da3-fa72c5419d44@virtuozzo.com \
--to=vsementsov@virtuozzo.com \
--cc=armbru@redhat.com \
--cc=hreitz@redhat.com \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=michael.roth@amd.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).