aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2012-10-18 22:26:45 +0200
committerGreg Kroah-Hartman <[email protected]>2012-10-22 16:53:21 -0700
commit5cff39c69b57df6d7bf4e87f2963571aa4ea6336 (patch)
tree98707dcc865ad2b1ac97751ea83d8f0c35a176e7 /tools/perf/util/scripting-engines/trace-event-python.c
parent2fc20661e3171d45e8e58a61eb5c6b7d8d614fde (diff)
TTY: tty_buffer, cache pointer to tty->buf
During the move of tty buffers from tty_struct to tty_port, we will need to switch all users of buf to tty->port->buf. There are many functions where this is accessed directly in their code many times. Cache the tty->buf pointer in such functions now and change only single lines in each function in the next patch. Not that it is convenient for the next patch, but the code is now also more readable. Signed-off-by: Jiri Slaby <[email protected]> Acked-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions