profcollectd: Use --no-dump-build-id for system wide ETM recording
Using --no-dump-build-id can save about 16% recording time
and 2% file size.
$ time ./simpleperf record -e cs-etm -a --duration 1 -z
Record compressed: 14.91 MB (original 92.81 MB, ratio 6.2)
0m02.39s real 0m00.98s user 0m01.14s system
$ time ./simpleperf record -e cs-etm -a --duration 1 -z --no-dump-build-id -o no_build_id.data
Record compressed: 14.68 MB (original 92.76 MB, ratio 6.3)
0m02.05s real 0m00.85s user 0m00.92s system
$ ls -l perf.data no_build_id.data
15409784 no_build_id.data
15856253 perf.data
Bug: 361638495
Test: run profcollectd
Change-Id: Ia1fc02037dd2406ab8f336392a8004f19cecb800
1 file changed