summaryrefslogtreecommitdiff
path: root/simpleperf/callchain.h
AgeCommit message (Collapse)Author
2017-04-19simpleperf: add --brief-callgraph option for report cmd.Yabin Cui
Remove duplicated callgraphs (which appears as a sub graph in another place) in --brief-callgraph mode. Accept brief callgraph in report.py. Add unit test for --brief-callgraph option. Bug: http://b/37444055 Test: run simpleperf_unit_test. Test: manually run report.py. Change-Id: I41977762552ec66807f394558352da6cbefaec2e
2016-06-29Simpleperf: add vaddr_in_file sort key in report command.Yabin Cui
Currently report command can't report more details than function name. After adding vaddr_in_file sort key, it can report the place of the instruction being sampled. vaddr_in_file is the instruction's virtual address in elf file, which matches output generated by objdump. Bug: 29826956 Test: run simpleperf_unit_test. Change-Id: Ifad4dfb7c60014a03c01ffbfd0b972858f1a4884
2016-05-24simpleperf: refactor SampleTree for reuse.Yabin Cui
By moving most function in report command into template classes, it allows other report commands to reuse the code. Bug: 27403614 Change-Id: I3d35b3a34d48c5c043ba4257a52eaf0961c12bca
2015-07-01Simpleperf: support callgraph option in report command.Yabin Cui
Bug: 19483574 Change-Id: I7c5558a71ea15650c1d3e7afa268b3fbc11543d7