summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-10-21 04:09:08 +0300
committerMyungJoo Ham <myungjoo.ham@samsung.com>2016-11-17 05:31:28 +0300
commitf8dbe363ba01de9bebb023f499e7bf9c31f028ab (patch)
tree94f8dcfc3751754da2bcc4d18630f752543ff799 /tools/perf/scripts/python/export-to-postgresql.py
parent29e477f23598b850b08bae22d142bd3abf491248 (diff)
downloadlinux-f8dbe363ba01de9bebb023f499e7bf9c31f028ab.tar.xz
PM / devfreq: exynos-ppmu: ppmu_events array should not be NULL terminated
The rest of the code uses ARRAY_SIZE to count the number of entries in ppmu_events array. The NULL terminated entry makes ARRAY_SIZE return off-by-one value. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions