simpleperf: use std::function for display function.

So we can provide display functions that take some information.

Bug: 211001574
Test: run simpleperf_unit_test
Change-Id: I59dbf3c59e0e42633e1903ae5fca8d9a6e23b34c
3 files changed