OSDN Git Service

Simpleperf: support --children option in report command.
authorYabin Cui <yabinc@google.com>
Tue, 30 Jun 2015 01:19:46 +0000 (18:19 -0700)
committerYabin Cui <yabinc@google.com>
Wed, 1 Jul 2015 00:49:59 +0000 (17:49 -0700)
commit36c662b538bd89e591b1bfcbce59fc0de3602bf6
tree711b1e51636bc6a5cba4f4004f08d808ec868eac
parentf22d1e19ba23152486b64b7c178fb35090de68a9
Simpleperf: support --children option in report command.

1. Refactor code about managing report items.
2. support --children option. It is a preparation to support -g option.

Bug: 19483574
Change-Id: Iba4dc0895c48a9fa1937aed165d7b3a2dc8e5c71
simpleperf/cmd_report.cpp
simpleperf/cmd_report_test.cpp
simpleperf/sample_tree.cpp
simpleperf/sample_tree.h