summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorHarshitha Sai Neelati <hsaine@codeaurora.org>2019-09-04 17:32:28 +0530
committerHarshitha Sai Neelati <hsaine@codeaurora.org>2019-10-23 17:21:16 +0530
commit04024ee16495c8cf184c444a0edaf6aa68fda357 (patch)
treeac84d3788322b9d63d67a8ae6656458b49322337 /scripts/gdb/linux/lists.py
parentc65b9585249986588b205fbed6eda20924423e72 (diff)
adreno_tz: Correct acc_relative_busy calculation
Current acc_relative_busy calculation is causing integer overflow in 32 bit system. "stats->busy_time * stats->current_frequency" results in a value which is beyond the 32 bit range. Typecasting the value to u64 to avoid overflow. Change-Id: Id97da02bef608787ceb7c9751bbfc203af56deb1 Signed-off-by: Harshitha Sai Neelati <hsaine@codeaurora.org>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions