summaryrefslogtreecommitdiff
path: root/simpleperf/UnixSocket.h
AgeCommit message (Collapse)Author
2017-02-10simpleperf: build libsimpleperf_inplace_sampler library.Yabin Cui
libsimpleperf_inplace_sampler.so is a library linked with user's app. It opens a unix socket server and waits for simpleperf's profiling request. This patch doesn't contain code generating real samples, instead it uses a fake sample for testing. Add runtest for 32bit. Increase runtest duration to 2 seconds and adjust some args in runtest.conf to make test result stable. Fix one tiny error in cmd_report.cpp to report correctly in `report --sort comm,symbol`. Bug: http://b/30974760 Test: run simpleperf_unit_test. Test: run runtest.py. Change-Id: I58163fe47f62e6ba7dd684b33a2ce302feb880f5
2016-10-26simpleperf: Add UnixSocket.Yabin Cui
It is used for communication between inplace-sampler-server and simpleperf. Bug: http://b/30974760 Test: run simpleperf_unit_test. Change-Id: I055763b73fd0aaa03fe008c185ca8b78ab5435f2