diff options
author | Daniel Thompson <[email protected]> | 2019-10-25 08:33:24 +0100 |
---|---|---|
committer | Daniel Thompson <[email protected]> | 2019-10-28 12:02:11 +0000 |
commit | 53b63136e81220cb2f8b541c03a1df9199896821 (patch) | |
tree | ebe79afc83641526c86d65e9866f056b45d8683b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | d07ce4e32a8d68062c58a3e635619313c52d0bf7 (diff) |
kdb: Tidy up code to handle escape sequences
kdb_read_get_key() has extremely complex break/continue control flow
managed by state variables and is very hard to review or modify. In
particular the way the escape sequence handling interacts with the
general control flow is hard to follow. Separate out the escape key
handling, without changing the control flow. This makes the main body of
the code easier to review.
Signed-off-by: Daniel Thompson <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions