aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2015-12-16 23:49:31 +0000
committerRalf Baechle <[email protected]>2016-01-24 03:14:15 +0100
commit088ec208d69474c784ed969206f6af323dea025b (patch)
tree9b0c58284ca2585eae5a3d3d07b06be9b5722523 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentcb1b447f0c369a248895aa28ec668dc3dd130f3f (diff)
MIPS: KVM: Refactor added offsetof()s
When calculating the offsets into the commpage for dynamically translated mtc0/mfc0 guest instructions, multiple offsetof()s are added together to find the offset of the specific register in the mips_coproc, within the commpage. Simplify each of these cases to a single offsetof() to find the offset of the specific register within the commpage. Signed-off-by: James Hogan <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Gleb Natapov <[email protected]> Cc: [email protected] Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/11888/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions