simpleperf: avoid some warning messages.

Sample records can hit unknown_dso when samples for JITed code are generated
before simpleperf read the JIT symfiles. And unknown_dso uses
DSO_ELF_FILE type. So simpleperf sometimes tries to read symbols from
elf file "unknown" and dump "unknown" file in perf.data. This makes
below warning message:

simpleperf W dso.cpp:383] failed to read min virtual address of unknown: File not found
simpleperf W dso.cpp:315] failed to read symbols from unknown: File not found

To solve this, add DSO_UNKNOWN_FILE type for unknown_dso, which does
nothing to load symbols. Also avoid dumping "unknown" file in perf.data.

Also avoid below warning when reading none ELF file from apk file.

simpleperf E read_apk.cpp:103] problems reading ELF from
/system/framework/framework-res.apk entry 'res/raw/fallbackring.ogg': Malformed file

Bug: http://b/77236599
Test: run simpleperf.
Test: run simpleperf_unit_test.

Change-Id: I43bc8a7764792ea993b596614668198f5a0cfd74
8 files changed