In the perofmance-log viewer, add header-bar buttons to clear and invert the selection, and allow inverting the selection by ctrl- right-clicking on the sample-selection area. Update the docs. (cherry picked from commit b74c33db)