aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTobias Herzog <[email protected]>2018-09-22 22:11:11 +0200
committerGreg Kroah-Hartman <[email protected]>2018-10-09 16:13:42 +0200
commitf976d0e5747ca65ccd0fb2a4118b193d70aa1836 (patch)
treeb6dd0846659aa417ebe2b4035e1262d44fac7961 /tools/perf/scripts/python/export-to-postgresql.py
parentdae3ddba36f8c337fb59cef07d564da6fc9b7551 (diff)
cdc-acm: correct counting of UART states in serial state notification
The usb standard ("Universal Serial Bus Class Definitions for Communication Devices") distiguishes between "consistent signals" (DSR, DCD), and "irregular signals" (break, ring, parity error, framing error, overrun). The bits of "irregular signals" are set, if this error/event occurred on the device side and are immeadeatly unset, if the serial state notification was sent. Like other drivers of real serial ports do, just the occurence of those events should be counted in serial_icounter_struct (but no 1->0 transitions). Signed-off-by: Tobias Herzog <[email protected]> Acked-by: Oliver Neukum <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions