OSDN Git Service

Simpleperf: add test about cpu hot-plug.
authorYabin Cui <yabinc@google.com>
Fri, 29 May 2015 02:57:01 +0000 (19:57 -0700)
committerYabin Cui <yabinc@google.com>
Fri, 29 May 2015 21:23:34 +0000 (14:23 -0700)
commit9764169fc1d0126ad2d72feb94791fd96e44e35b
treeea150eccc82671d03c2bcf11db1f1b703a1e7952
parent50e2e1d1918e2400745cb1c6e5d34acd33d5c2fe
Simpleperf: add test about cpu hot-plug.

On device like N7(flo), because of a kernel bug, if a cpu is hotplugged
while there are hardware events monitored not on that cpu, the kernel
arrives in an error state that no further hardware events can be monitored.
This test is used to detect the kernel bug.

Bug: 19863147
Change-Id: Ieed4fef174373b5fe62afacf8197e839685893df
simpleperf/Android.mk
simpleperf/cpu_offline_test.cpp [new file with mode: 0644]