diff options
author | Brian King <[email protected]> | 2015-07-14 11:41:31 -0500 |
---|---|---|
committer | James Bottomley <[email protected]> | 2015-07-30 10:38:00 -0700 |
commit | bb7c54339e6a10ecce5c4961adf5e75b3cf0af30 (patch) | |
tree | 415cedd069567d7be55d8da522207069cff4e634 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 36b8e180e1e929e00b351c3b72aab3147fc14116 (diff) |
ipr: Fix incorrect trace indexing
When ipr's internal driver trace was changed to an atomic, a signed/unsigned
bug slipped in which results in us indexing backwards in our memory buffer
writing on memory that does not belong to us. This patch fixes this by removing
the modulo and instead just mask off the low bits.
Cc: <[email protected]>
Tested-by: Wen Xiong <[email protected]>
Reviewed-by: Wen Xiong <[email protected]>
Reviewed-by: Gabriel Krisman Bertazi <[email protected]>
Signed-off-by: Brian King <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions