Profiler marking menu

Right-click in the draw region of the Profiler for these menu items:

Hide selected events / Hide selected events repetition
Select the first option to hide the events that you have selected in your draw region. Select the second option to hide all instances of the events you have selected in your draw region.
Show only selected events / Show only selected events repetition
Select the first option to hide all events in your draw region except for the events that you have selected. Select the second option to hide all events in your draw region except for instances of the events that you have selected.
Unhide all
Select this option to revert back to the default and display all events.
Collapse Selected events / Collapse Selected events repetition
Select the Collapse Selected events to collapse all child events (started on the same thread and contained within the time interval of the parent events, i.e. higher on the event stack) into the selected event(s). Select Collapse Selected events repetition to collapse not only the selected events, but also their repetition in any other frames. So if you collapse them, they are also hidden in other frames.
Expand Selected events / Expand Selected events repetition
Select the first option to restore all child events which were collapsed into the selected event(s). Select Expand Selected events repetition to expand not only the selected events, but also their repetition in any other frames. So if a selected event is expanded, they also show in other frames.
Show Critical path
The critical path is the sequence of evaluation tasks determining the minimum time needed to compute a frame if infinite compute resources were available. This is the minimum evaluation time (that is, the frame can't evaluate faster than this chain of tasks).
Activate this option to make Profiler detect the critical paths based on the currently selected frame and the current scheduling graph, as well as show events that map to the execution of a scheduling node.