summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2021-06-03 12:54:24 +0100
committerKalle Valo <kvalo@codeaurora.org>2021-06-14 18:49:42 +0300
commit87ab9cbaee7c11dd12587d60fb16f3ec22c1a5b3 (patch)
tree71084e0427c9e70d55482c69bff84044bcbcb915 /tools/perf/scripts/python/export-to-postgresql.py
parent98e94771cadcef2952d3aa64e72b2b8fecef465b (diff)
wlcore: fix bug reading fwlog
With logging enabled, it has been observed that the driver spews messages such as: wlcore: ERROR Calculate of clear addr Clear = 204025b0, write = 204015b0 The problem occurs because 204025b0 is the end of the buffer, and 204015b0 is the beginning, and the calculation for "clear"ing the buffer does not take into account that if we read to the very end of the ring buffer, we are actually at the beginning of the buffer. Fix this. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/E1lolvc-0003RM-VE@rmk-PC.armlinux.org.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions