commit | 26387c737d75478430ebb4d6401b06f1d68e85af | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@google.com> | Tue Dec 03 11:57:18 2019 +0900 |
committer | Namhyung Kim <namhyung@google.com> | Fri Dec 20 17:32:49 2019 +0900 |
tree | ce9fa23abed76d438d77bc59e2bd903abe264973 | |
parent | a5f1d42f8a0a4853425d021c273e8d0ee94d8d7d [diff] |
simpleperf: Use PMU's cpumask if available Some PMU events only support profiling from dedicated cpus. For those events there are cpumask files in the /sys/bus/event_source/devices/<PMU> directory. So override the cpu setting for them. Test: manually tested with a PMU has the cpumask file Change-Id: I5e50a7d6f88cb0bc80b45e774cf048116698b3de Signed-off-by: Namhyung Kim <namhyung@google.com>