summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>2015-11-20 17:43:13 +0900
committerPaolo Bonzini <pbonzini@redhat.com>2015-11-25 17:26:15 +0100
commitfd9514572f721acbabb0ff24f6b5294a2449d492 (patch)
tree77462fd96a52b6ebdf87a849156a59d1d4f2f7e3 /tools/perf/scripts/python/syscall-counts.py
parent7ee0e5b29d275ac299cdf8ef67e60bf1648c8c6a (diff)
KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap
Both __mmu_unsync_walk() and mmu_pages_clear_parents() have three line code which clears a bit in the unsync child bitmap; the former places it inside a loop block and uses a few goto statements to jump to it. A new helper function, clear_unsync_child_bit(), makes the code cleaner. Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions