Dropping a marker for reference in analysis? #214
Replies: 2 comments 1 reply
-
"Annotation", I believe is the term I was looking for, as in ... at the time of collecting the data? |
Beta Was this translation helpful? Give feedback.
-
puts on Wayland developer hat This sounds like failing to do cross-device dmabuf exports/imports, and having to fall back to GPU readback and CPU copies. If this is Plasma 5.23+ I think it should be using wlroots for its backend, in which case you could ask in IRC (#sway-devel on Libera) how to determine if this in fact happening. takes Wayland developer hat off, puts on magic-trace developer hat Silly idea: send an ignored signal (e.g. Separately, it doesn't seem unreasonable to have magic-trace respond to e.g. |
Beta Was this translation helpful? Give feedback.
-
With my
perf
no longer acting up, I now wonder whether there is a way to drop markers into the trace for later reference.A marker would be much like an anonymous bookmark (numbered?) set by a human as in "I am about to do something now".
My first ever use case for magic-trace (perf) is trying to figure out why the kwin_wayland rendering process on my (new) Nvidia + Intel mixed GPU laptop consumes massive CPU when drawing in a very specific configuration, getting totally laggy on presentation. Talk about ambition...
For that, I want to
When launching analysis, I want to focus on everything between bookmarks 1 and 2, because it's laggy, something really burns CPU according to htop, producing heat, as if we didn't have enough of a problem with that already...
Clearly the human being in me could count twenty-one, twenty-two, ..., record all of that, cross-ref all of that - but my poor poor mental (over)load! Plus, communicating "go look at anything between b1 and b2" is much more robust than directing by unreliable "perceived" timestamps.
Is there any means to accomplish the above? A signal I could send to magic-trace? (kill ALRM? TRAP? USR1? USR2?)
Hm. Perhaps this is a perfetto question?
Beta Was this translation helpful? Give feedback.
All reactions