summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPatrick Fay <pfay@codeaurora.org>2016-08-11 17:49:20 -0700
committerPatrick Fay <pfay@codeaurora.org>2016-08-13 15:11:24 -0700
commit573979dee2a76e4d7f61cb867c12afbaed7e1eb5 (patch)
treef614d460d5677c1162ae781f71ff79a51e251f13 /tools/perf/scripts/python
parent1f0f95c5fe9ef3cf90cdd5f4686e3ea1be2a2545 (diff)
perf: Add support for exclude_idle attribute
Use the exclude_idle attribute of the perf events to avoid reading PMUs of idle CPUs. The counter values are updated when CPU enters idle and the saved value is returned when the idle CPU is queried for that event provided the attribute is set in the perf_event. Change-Id: I61f7a7474856abf67ac6dfd9e531702072e108a5 Signed-off-by: Patrick Fay <pfay@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions