aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2014-04-21 09:40:35 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-24 15:38:21 -0700
commitab88c8dc3bd667bcf21c8319165db92b930cf7e7 (patch)
tree060c678b26d846eab33e1861862c0191e27e269f /tools/perf/util/scripting-engines/trace-event-python.c
parentserial: samsung: Use the passed in "port", fixing kgdb w/ no console (diff)
downloadwireguard-linux-ab88c8dc3bd667bcf21c8319165db92b930cf7e7.tar.xz
wireguard-linux-ab88c8dc3bd667bcf21c8319165db92b930cf7e7.zip
serial: samsung: don't check config for every character
The s3c24xx_serial_console_putchar() is _only_ ever used by s3c24xx_serial_console_write() and is called in a loop (indirectly through uart_console_write()). There's no reason to call s3c24xx_port_configured() for every iteration through the loop. Move it outside the loop. Signed-off-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions