]> git.ipfire.org Git - thirdparty/qemu.git/commit
plugins/hwprofile: adapt to the new plugin arguments scheme
authorMahmoud Mandour <ma.mandourr@gmail.com>
Fri, 30 Jul 2021 13:58:10 +0000 (15:58 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 2 Sep 2021 10:29:34 +0000 (11:29 +0100)
commit60753843f6f6c3933f6ac10667eef8a4327279e2
treef7c676cadeccba2543b5118495d10ed2ce5ebea0
parentb18a0cad812c6b3afc158bb050b0a2232f9776b7
plugins/hwprofile: adapt to the new plugin arguments scheme

Parsing boolean arguments correctly (e.g. pattern=on or source=false).
Introduced a new "track" argument that takes a [read|write] value. This
substitutes passing read or write to "arg=" that is deprecated.

Also, matches are now taken one by one through the "match" argument.

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210730135817.17816-7-ma.mandourr@gmail.com>
contrib/plugins/hwprofile.c
docs/devel/tcg-plugins.rst