diff options
| author | Lars-Peter Clausen <[email protected]> | 2013-08-27 13:03:03 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2013-08-27 16:23:00 +0100 |
| commit | b6752123ccef4eec3c70c20dbdfc05d1674319c5 (patch) | |
| tree | eac40c4ea69182004640ad13488c58e77c560ef8 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | d8dfad3876e4386666b759da3c833d62fb8b2267 (diff) | |
regcache-rbtree: Fix reg_stride != 1
There are a couple of calculations, which convert between register addresses and
block indices, in regcache_rbtree_sync() and regcache_rbtree_node_alloc() which
assume that reg_stride is 1. This will break the rb cache for configurations
which do not use a reg_stride of 1.
Also rename 'base' in regcache_rbtree_sync() to 'start' to avoid confusion with
'base_reg'.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions