From e21ad052fb9ac8c21cf1052146469b597bd4cc5b Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Thu, 21 Nov 2024 18:24:27 +0000
Subject: [PATCH] pv-wrap(1): Document STEAM_COMPAT_TRACING

Followup from steamrt/tasks#404

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 pressure-vessel/wrap.1.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/pressure-vessel/wrap.1.md b/pressure-vessel/wrap.1.md
index bcbb7f34a..8b8aacaa0 100644
--- a/pressure-vessel/wrap.1.md
+++ b/pressure-vessel/wrap.1.md
@@ -500,6 +500,14 @@ The following environment variables (among others) are read by
     such as Proton and the Steam Linux Runtime.
     They are currently made available read/write in the container.
 
+`STEAM_COMPAT_TRACING` (boolean)
+:   If set to `1`, allow system tracing if it is enabled at system level.
+    This currently results in `/sys/kernel/tracing` being read/write,
+    which has no practical effect unless the OS has granted access to that
+    directory to the user running Steam.
+    Steam automatically sets this when system tracing is enabled on a
+    Steam Deck in developer mode.
+
 `STEAM_RUNTIME` (path)
 :   **pressure-vessel-wrap** refuses to run if this environment variable
     is set. Use **pressure-vessel-unruntime**(1) instead.
-- 
GitLab