From be2e24cb25d89e5cbc05e32c6c7cf57374da1409 Mon Sep 17 00:00:00 2001 From: qazal <77887910+Qazalin@users.noreply.github.com> Date: Thu, 13 Nov 2025 05:59:22 +0800 Subject: [PATCH] roc: requires sudo to install (#13237) --- extra/sqtt/roc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/sqtt/roc.py b/extra/sqtt/roc.py index 531554c1b1..78fe1da52a 100644 --- a/extra/sqtt/roc.py +++ b/extra/sqtt/roc.py @@ -149,7 +149,7 @@ def decode(profile:list[ProfileEvent]) -> _ROCParseCtx: try: rocprof.rocprof_trace_decoder_parse_data(copy_cb, trace_cb, isa_cb, None) - except AttributeError as e: raise RuntimeError("Failed to find rocprof-trace-decoder. Run ./extra/sqtt/install_sqtt_decoder.py to install") from e + except AttributeError as e: raise RuntimeError("Failed to find rocprof-trace-decoder. Run sudo ./extra/sqtt/install_sqtt_decoder.py to install") from e return ROCParseCtx if __name__ == "__main__":