From 6db2ae7c8da1385879930d28718522b2a709098e Mon Sep 17 00:00:00 2001 From: Nick Ripley Date: Tue, 18 Jan 2022 07:43:33 -0500 Subject: [PATCH] guide: add unlock calls to mutex profile example --- guide/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guide/README.md b/guide/README.md index f82b03e..da08fcc 100644 --- a/guide/README.md +++ b/guide/README.md @@ -451,9 +451,9 @@ The resulting mutex profile will essentially be a table of stack traces formatte |stack trace|contentions/count|delay/nanoseconds| |-|-|-| -|main;foo|5|867549417| -|main;foo;bar|3|453510869| -|main;foobar|4|5351086| +|main;foo;sync.(*Mutex).Unlock|5|867549417| +|main;bar;baz;sync.(*Mutex).Unlock|3|453510869| +|main;foobar;sync.(*RWMutex).RUnlock|4|5351086| ⚠️ See the section on [block vs mutex profiles](#block-vs-mutex-profiler) for the difference between the two profiles.