qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] docs: Document simple trace backend thread-safety limitation
@ 2011-01-21  9:26 Stefan Hajnoczi
  0 siblings, 0 replies; only message in thread
From: Stefan Hajnoczi @ 2011-01-21  9:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi, Prerna Saxena

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 docs/tracing.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/docs/tracing.txt b/docs/tracing.txt
index 963c504..d2499d9 100644
--- a/docs/tracing.txt
+++ b/docs/tracing.txt
@@ -133,6 +133,11 @@ source tree.  It may not be as powerful as platform-specific or third-party
 trace backends but it is portable.  This is the recommended trace backend
 unless you have specific needs for more advanced backends.
 
+This trace backend is not thread-safe.  In many cases this is not an issue
+since the QEMU global mutex covers much of the codebase.  Consider this
+limitation when tracing utility functions that may be called from worker
+threads with no synchronization.
+
 ==== Monitor commands ====
 
 * info trace
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-21  9:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-21  9:26 [Qemu-devel] [PATCH] docs: Document simple trace backend thread-safety limitation Stefan Hajnoczi

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).