aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMark Tomlinson <[email protected]>2015-05-18 12:01:48 +1200
committerGreg Kroah-Hartman <[email protected]>2015-05-24 12:43:50 -0700
commitda555db6b06340e3f6b4b0a0448c30bebfe23b0a (patch)
tree872aae27524cdd0ff3c9da0bd0efa679ad6bf66c /tools/perf/scripts/python/call-graph-from-postgresql.py
parent392bceedb107a3dc1d4287e63d7670d08f702feb (diff)
n_tty: Fix calculation of size in canon_copy_from_read_buf
There was a hardcoded value of 4096 which should have been N_TTY_BUF_SIZE. This caused reads from tty to fail with EFAULT when they shouldn't have done if N_TTY_BUF_SIZE was declared to be something other than 4096. Signed-off-by: Mark Tomlinson <[email protected]> Reviewed-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions