From 184d155bd14f372f54bd5472d80bac0a5b237d26 Mon Sep 17 00:00:00 2001 From: Moses Turner Date: Fri, 2 Jul 2021 00:40:58 -0500 Subject: [PATCH] doc/tracing: add 'Value doesn't exist' gotcha --- doc/tracing.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/tracing.md b/doc/tracing.md index 16fd85024..8d256bc34 100644 --- a/doc/tracing.md +++ b/doc/tracing.md @@ -63,3 +63,13 @@ Then run the following commands before launching Monado. [Perfetto]: https://perfetto.dev [Percetto]: https://github.com/olvaffe/percetto + +## Gotchas + +Here's where we write down silly things we ran into while using Perfetto/Percetto. + +### "Value doesn't exist" in web viewer + +This is probably because you don't have read permissions on your tracefile, probably because you ran traced/tracebox as root. Don't do that, instead do `sudo chown -R $USER /sys/kernel/tracing` and run traced/tracebox as your normal user. + +(If you really have to run it as root, then before you open the tracefile do `sudo chown $USER `).