diff options
author | 2016-02-26 20:51:02 -0500 | |
---|---|---|
committer | 2016-03-13 03:55:40 -0400 | |
commit | 36229897ba966bb0dc9e060222ff17b198252367 (patch) | |
tree | 338ca7d3fa3ce6553b7b6a58bd40568a99a4a5de /tools/perf/scripts/python/stackcollapse.py | |
parent | tools/power turbostat: fix compiler warnings (diff) | |
download | linux-dev-36229897ba966bb0dc9e060222ff17b198252367.tar.xz linux-dev-36229897ba966bb0dc9e060222ff17b198252367.zip |
tools/power turbostat: make fewer systems calls
skip the open(2)/close(2) on each msr read
by keeping the /dev/cpu/*/msr files open.
The remaining read(2) is generally far fewer cycles
than the removed open(2) system call.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions