diff options
author | Glauber Costa <[email protected]> | 2011-07-11 15:28:15 -0400 |
---|---|---|
committer | Avi Kivity <[email protected]> | 2011-07-14 12:59:44 +0300 |
commit | 3c404b578fab699c4708279938078d9404b255a4 (patch) | |
tree | 5ae6c3a05bda6345b51ba934e12027424f2c7684 /tools/perf/scripts/python/netdev-times.py | |
parent | c9aaa8957f203bd6df83b002fb40b98390bed078 (diff) |
KVM guest: Add a pv_ops stub for steal time
This patch adds a function pointer in one of the many paravirt_ops
structs, to allow guests to register a steal time function. Besides
a steal time function, we also declare two jump_labels. They will be
used to allow the steal time code to be easily bypassed when not
in use.
Signed-off-by: Glauber Costa <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Tested-by: Eric B Munson <[email protected]>
CC: Jeremy Fitzhardinge <[email protected]>
CC: Peter Zijlstra <[email protected]>
CC: Anthony Liguori <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions