History log of /system/extras/simpleperf/report_lib_interface.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
129b5d2f72fbee901a504d328da5a9037b03a7b6 16-Mar-2017 Yabin Cui <yabinc@google.com> simpleperf: add script to generate proto data used by pprof.

Also change Addr2Line to support inline functions.

Bug: http://b/35726123
Test: run gen_pprof_proto.py manually.
Change-Id: Ia2f84ac142e7075ea902f3456235db24567e4fcd
/system/extras/simpleperf/report_lib_interface.cpp
ada97db3d4336faac601663e8bb4b59835ae49a0 24-Feb-2017 Yabin Cui <yabinc@google.com> simpleperf: generate one report for each event attr.

Bug: http://b/35475170
Test: run simpleperf_unit_test.
Test: run report.py.
Change-Id: Ie9329a64c701bce38f7b440c16cb47e99e83db45
/system/extras/simpleperf/report_lib_interface.cpp
52c6369cd3bc5dfb5f05b4e3b2c66aec47065c04 29-Nov-2016 Yabin Cui <yabinc@google.com> simpleperf: add stuff in report_lib_interface.

It's a preparation to annotate binaries, containing following
changes:
1. Export build_id for binaries.
2. Export function virtual addresses.
3. Add unit tests in simpleperf_report_lib.py.

Bug: http://b/32834638
Test: simpleperf_unit_test.
Test: run `python simpleperf_report_lib.py`.
Change-Id: Ieed40935ff9ede44bf823ba9c88ad87806ffac0a
/system/extras/simpleperf/report_lib_interface.cpp
b2465ad8bae68531dd9dbed88be469612cd7229a 17-Oct-2016 Daniel Friederich <dfriederich@magicleap.com> Support to use kallsyms

Also:
- Adapt to use with Python 3
(where str is a wide type but our C API's expect 8 bit character strings)
- Use OS specific so names (e.g. simpleperf_report.dll on Windows)
- On Windows as we use mingw to build, preload libwinpthread-1.dll.

Test: with manual incovation using report_sample.py
Change-Id: Id973c463608c520b8eec229026c74dc5e8144cf8
/system/extras/simpleperf/report_lib_interface.cpp
0e48e18171e17c76834916c2c87360195edf8667 12-Oct-2016 Daniel Friederich <dfriederich@magicleap.com> Support for multiple instances

Allows to use separate instances for separate perf.datai
files (and possibly also separate instances on separate threads)

Test: Tested by running report_sample.py
Change-Id: I0ebdb3c650a4540f07237b515d451d69ec3810e6
/system/extras/simpleperf/report_lib_interface.cpp
010b232198b1eab7c9fcba099a5565b03faba695 05-Nov-2016 Yabin Cui <yabinc@google.com> simpleperf: make file feature section used in more report commands.

Bug: http://b/32340274
Test: run simpleperf_unit_test.
Change-Id: I0bed466c145fdbb2988308f56a031c06bad16352
/system/extras/simpleperf/report_lib_interface.cpp
003b245939bae5e86ed53b3c6b333637dbc571b4 30-Sep-2016 Yabin Cui <yabinc@google.com> Simpleperf: don't expose EventSelection.

And some tiny improvements.

Bug: http://b/30974760
Test: run simpleperf_unit_test.
Change-Id: Ie2d46c8ab9ee763d107527c9a54590f845569da4
/system/extras/simpleperf/report_lib_interface.cpp
a447c0d5f1d5227af30c0cbb4320ad878bd78c43 26-Aug-2016 Yabin Cui <yabinc@google.com> simpleperf: add python report interface on linux.

1. Build libsimpleperf_report.so on host, which exports functions
to access samples.
2. Add simpleperf_report_lib.py to wrap libsimpleperf_report.so.
3. Write report_sample.py to test simpleperf_report_lib.py. The
output format of report_sample.py matches the need of building
FlameGraph.

Bug: http://b/31069528
Test: run report_sample.py on perf.data.
Test: run simpleperf_unit_test.

Change-Id: I4949f8ea506f12101a9c4fb4c896957c96676853
/system/extras/simpleperf/report_lib_interface.cpp