summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2016-02-23 09:39:18 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-25 16:03:11 -0700
commit997b5d0f7b26ab52770ed54f0d4f68770e6ef764 (patch)
tree9f8585056e7c91e06f8ce5abe2ae43b74f00b0b5 /tools/perf/scripts/python/export-to-postgresql.py
parentf875ef9dcb2f6900f9a50672b31b694c728b42d1 (diff)
msm: kgsl: Standardize ringbuffers in the snapshot
'start' and 'stop' in the snapshot ringbuffer header are supposed to be the dword offset that the data starts and stops at respectively. For the current ringbuffer which is parsed 'start' and 'stop' are equal to the CP wptr but all other ringbuffers are just dumped from start to finish so 'start' and stop' should be 0 and KGSL_RB_DWORDS. And having said that, why are we bothering to make the current ringbuffer special anyway? In every case we are dumping the entire ringbuffer so we might as well dump it in order. While messing about in this code go a few more steps to make sure that we don't dump the same ringbuffer more than once. Change-Id: Ic0dedbada33adda660b7f0bf5eb165b0aa159004 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions