simpleperf: scripts: add --remove-method

Add --remove-method to remove methods with name containing
the given regular expressions. The removed methods will
not be shown in callchains.

Also fix TestProtoFileReportLib.test_set_trace_offcpu_mode.

Bug: 325429554
Test: run test/test.py --only-host-test
Change-Id: Idd1c8c0e98e058eadc1030b04be7e8f4409257f6
4 files changed