event_manager: Change compiled trace search strategy and
disable trace when isReadAhead.
(1) Get compiled trace file path from sqlite.
(2) If not exists, try the prebuilt path.
Measured the overhead of looking up compiled trace path in db.
It's less than 1 ms.
Bug: 140429498
Test: Make
Test: Run an app with a compiled trace and path stored in db.
Prefetching is preformed and tracing is not.
Test: atest --host -v iorapd-host-tests
Change-Id: I965bc34ba7ed578031c696967e4386495e3ef21a
5 files changed