Keys and mouse

Taken from the viewer’s key handler and the track gestures. A text field keeps the keys (the scope box, the tracks box, a report filter, the process filter), except Escape, which clears the box that has focus. R, I, F2 and F3 also do nothing while the Self pane is the one taking keys.

Keys

KeyAction
XStart or stop a capture. Hidden on a static file (an opened trace or capture)
RToggle the report. More → “Report R”
IOpen Inspector
F2Toggle the Self pane. More → “Self F2”
F3Toggle Benchmark. More → “Benchmark F3”
SpaceToggle Follow latest
HomeFit the capture to its content. The window is at least 1 µs wide
Ctrl+O / ⌘OOpen a file
Ctrl+Shift+P / ⌘⇧POpen the process list. Up, Down and Enter move and select inside it
EscapeClear the scope search, a Live highlight, the selection and a rectangle drag
A / DPan in time. Turns Follow off
Left / RightPan in time when nothing is selected. With a selection, nudge it
W / SZoom around the cursor. Turns Follow off
Up / DownScroll tracks, when nothing is selected
Page Up / Page DownScroll tracks by a page
Ctrl+C / ⌘CCopy the report table on Flat, Top-down, Bottom-up, Modules and Functions: the selected rows, or the whole table. A focused text field keeps its own copy. Code uses the Copy pill

More also lists “Pan time: A / D”, “Zoom: W / S” and “Scroll tracks: ↑ / ↓, Page Up / Down”.

Mouse

GestureWhereAction
WheelRulerZoom time
WheelTracksScroll tracks
Ctrl+wheel, ⌘+wheel, or pinchTracksZoom around the cursor
Left-dragAnywhere but a sample barPan
Left-dragA thread’s sample barSelect that thread’s samples
Right-dragAnywhere, including the rulerSelect every thread’s samples in the range
Shift+dragSample bar or right-dragAdd to the sample selection
Ctrl+drag or ⌘+dragTracksMarquee-select scopes and copy the report. Does not zoom
Double-clickA scopeZoom to 1.1× its duration
Double-clickRulerFit, same as Home
ClickThread headerFocus that thread, or release it
ClickSample tickCopy its call stack
ClickEmpty canvasClear the selection
Right-clickA scopeSampling report for this scope, Highlight every instance
Right-clickA function, in a report or on a flame barHook or unhook it. The report item is Hook function for dynamic instrumentation. The flame item is Hook function. Show disassembly and source opens Code

Page URL

QueryEffect
?report=Open a tab: flat, top_down, bottom_up, modules, live, flame, functions, code, inspector, selection
?tracks=Fill the tracks filter. + and %20 are spaces
?collapse=schedulerStart with the scheduler track folded
?theme=orbit, dracula, nord, gruvbox, solarized, solarized-light, gruvbox-light
?webgpuTry WebGPU instead of WebGL2
?capture=Open a .orbit.stream with no service. The site’s embedded viewer uses this