summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPankaj Gupta <pagupta@redhat.com>2019-03-19 11:34:06 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-11 12:24:04 +0200
commitc05b2ed7bc1b03887b34d2f4d6d5cdfef206d9be (patch)
tree10ddfd75b3d47458f3acc21de247bd9db30a9e97 /tools/perf/scripts/python/export-to-postgresql.py
parent348ec7b9a1c1c6f93911cf7b164ec870ee4c027a (diff)
virtio_console: initialize vtermno value for ports
[ Upstream commit 4b0a2c5ff7215206ea6135a405f17c5f6fca7d00 ] For regular serial ports we do not initialize value of vtermno variable. A garbage value is assigned for non console ports. The value can be observed as a random integer with [1]. [1] vim /sys/kernel/debug/virtio-ports/vport*p* This patch initialize the value of vtermno for console serial ports to '1' and regular serial ports are initiaized to '0'. Reported-by: siliu@redhat.com Signed-off-by: Pankaj Gupta <pagupta@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions