commit | b60b33ca21a367f4b5e40406a6d26f2c5ca61b0d | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Jul 15 11:58:41 2020 -0700 |
committer | Yabin Cui <yabinc@google.com> | Fri Jul 17 13:20:06 2020 -0700 |
tree | 2656bb2e7bc26ccee27d08e82bfadc2a34252b0c | |
parent | 3c5ea31c4dcd8b8f5d34cb97caa91692e4ca680b [diff] |
simpleperf: replace --include-filter with --addr-filter. Add --addr-filter to use all filter functions provided by the kernel and etm hardware. It supports: 1) starting/stopping tracing at selected instruction addresses. 2) only tracing instructions in selected addr ranges. 3) Both vaddrs in ELF files and kernel addrs can be used. Bug: 161181704 Test: run simpleperf_unit_test. Change-Id: Ie503fd0c35634a1bc006b67cc7a8faa64d58a421