summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2018-01-07 12:14:28 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-08 16:27:23 +0100
commit89c2db889d2901955c86f36c0d6bb39b6547f05d (patch)
tree6beb5f517157d68128f7d0493d658ef706abbc0d /tools/perf/scripts/python
parent46856e6cf237c5f42f850facd1e059533ac7adad (diff)
downloadcachepc-linux-89c2db889d2901955c86f36c0d6bb39b6547f05d.tar.gz
cachepc-linux-89c2db889d2901955c86f36c0d6bb39b6547f05d.zip
staging: ccree: use array for double buffer
The ccree hash code is using a double buffer to hold data for processing but manages the buffers and their associated data count in two separate fields and uses a predicate to chose which to use. Move to using a proper 2 members array for a much cleaner code. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions