On 09/19/2013 03:41 PM, Kenneth Graunke wrote:
If the last counter returned is a 32-bit value, reading a uint64_t might
go past the end of the buffer. So, delay reading the 64-bit value until
we know the type is 64-bit.
Signed-off-by: Kenneth Graunke kenn...@whitecape.org
Reviewed-by: Ian
If the last counter returned is a 32-bit value, reading a uint64_t might
go past the end of the buffer. So, delay reading the 64-bit value until
we know the type is 64-bit.
Signed-off-by: Kenneth Graunke kenn...@whitecape.org
---
tests/spec/amd_performance_monitor/measure.c | 2 +-
1 file