simpleperf: record: Add --no-dump-build-id

When used, build ids are not dumped in the recording file.
It can avoid the cost of dumping build ids for all loaded
binaries in system wide ETM recording.

If build ids are not dumped, they are added automatically
by the inject cmd when generating branch list files.

Bug: 361638495
Test: run simpleperf_unit_test
Change-Id: I81b4274dfce7ca27c79b0aae954fc481cd2769dc
7 files changed