aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-12-19 15:29:49 +0000
committerBen Skeggs <bskeggs@redhat.com>2019-02-20 08:59:58 +1000
commitb1d03fc36ec9834465a08c275c8d563e07f6f6bf (patch)
treeedaf928321aa770d0858b08e481ce9f3f53129ae /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/nouveau/bios/ramcfg: fix missing parentheses when calculating RON (diff)
downloadlinux-dev-b1d03fc36ec9834465a08c275c8d563e07f6f6bf.tar.xz
linux-dev-b1d03fc36ec9834465a08c275c8d563e07f6f6bf.zip
drm/nouveau/pmu: don't print reply values if exec is false
Currently the uninitialized values in the array reply are printed out when exec is false and nvkm_pmu_send has not updated the array. Avoid confusion by only dumping out these values if they have been actually updated. Detected by CoverityScan, CID#1271291 ("Uninitialized scaler variable") Fixes: ebb58dc2ef8c ("drm/nouveau/pmu: rename from pwr (no binary change)") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions