simpleperf: fix dso/symbol filter in report command.

When dso/symbol filter is used with -g/--children option, a
sample may be filtered out by the filter, and we can't see
its callchain, even if part of the callchain matches the filter.

But users expect to see the part of the callchain matching the
filter. So this patch keeps the sample even if it is filtered out.

Bug: 204584306
Test: run simpleperf_unit_test
Change-Id: Iacec60ae776566befe94f330d20d365f8f3a0a68
2 files changed