Skip to contentSkip to conversation

docs: Document simple trace backend thread-safety limitation

PATCH New Stefan Hajnoczi 1 participant 1 message Jan 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: Document simple trace backend thread-safety limitation

---
 docs/tracing.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
docs/tracing.txt +5 -0
index 963c504..d2499d9 100644
@@ -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
Signature · 1 line
1.7.2.3