summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorBen Gardon <bgardon@google.com>2021-04-02 02:37:28 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-19 16:05:24 +0300
commitcfc109979b3c879ea9df05e048bb83615964f3e3 (patch)
tree73889cddaca2d8136fb590f85a458ca527632ba4 /tools/perf/scripts/python/syscall-counts.py
parent2bdb3d84cebca2e3b482788615ff1559bc8cedb5 (diff)
downloadlinux-cfc109979b3c879ea9df05e048bb83615964f3e3.tar.xz
KVM: x86/mmu: Refactor yield safe root iterator
Refactor the yield safe TDP MMU root iterator to be more amenable to changes in future commits which will allow it to be used under the MMU lock in read mode. Currently the iterator requires a complicated dance between the helper functions and different parts of the for loop which makes it hard to reason about. Moving all the logic into a single function simplifies the iterator substantially. Signed-off-by: Ben Gardon <bgardon@google.com> Message-Id: <20210401233736.638171-6-bgardon@google.com> 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