aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorLiam Ni <[email protected]>2022-09-08 22:12:10 +0800
committerPaolo Bonzini <[email protected]>2022-09-26 12:02:34 -0400
commite390f4d69da026149c8c80a7a2218e166d5643fc (patch)
treef2ddbf327ce12e43410d6061c9ee58295a244f36 /tools/perf/scripts/python/netdev-times.py
parent02dfc44f205772f0edc0d8e58420205c1cf2f83b (diff)
KVM:x86: Clean up ModR/M "reg" initialization in reg op decoding
Refactor decode_register_operand() to get the ModR/M register if and only if the instruction uses a ModR/M encoding to make it more obvious how the register operand is retrieved. Signed-off-by: Liam Ni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions