aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2017-03-08 16:03:01 +0000
committerJohan Hovold <[email protected]>2017-03-13 16:55:41 +0100
commitf1ce25f292e7ef7a86e44ec4d30a7e179d3ddce0 (patch)
tree134c122621a1d32dd3364595d9136f2b1bee3a59 /tools/perf/scripts/python/bin/stackcollapse-record
parentd0559a2f294c9b50d7795a8362931f0db8953de1 (diff)
USB: serial: ftdi_sio: allow other bases for "event_char"
The 'store' function for the "event_char" device attribute currently expects a base 10 value. The value is composed of an enable bit in bit 8 and an 8-bit "event character" code in bits 7 to 0. It seems reasonable to allow hexadecimal and octal numbers to be written to the device attribute in addition to decimal. Make it so. Change the debug message to show the value in hexadecimal, rather than decimal. Signed-off-by: Ian Abbott <[email protected]> Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions