include/qemu: Added tsan.h for annotations.
commite51345eea9057c2a2098322df9e9797cd4bc7f8d
authorRobert Foley <robert.foley@linaro.org>
Fri, 12 Jun 2020 19:02:32 +0000 (12 20:02 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 16 Jun 2020 13:49:05 +0000 (16 14:49 +0100)
tree3e68b4c0080a5a645ff4c240ea6a672133de1443
parentdf79fd5667fb99c6fdfa0d295cb020e9e3eef1e7
include/qemu: Added tsan.h for annotations.

These annotations will allow us to give tsan
additional hints.  For example, we can inform
tsan about reads/writes to ignore to silence certain
classes of warnings.
We can also annotate threads so that the proper thread
naming shows up in tsan warning results.

Signed-off-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200609200738.445-11-robert.foley@linaro.org>
Message-Id: <20200612190237.30436-14-alex.bennee@linaro.org>
include/qemu/tsan.h [new file with mode: 0644]