Optimization: lttng UI uses sprintf instead of strcpy
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 4 Mar 2016 16:31:00 +0000 (11:31 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 4 Mar 2016 17:02:03 +0000 (12:02 -0500)
commit19ed763285b27e717bbc7835b31098629682dd1f
treecb8d0ed69f1377c7bb42f00af316eac8623a664c
parent4604e0ad4ba22026bbd694ba477dd8b9450d2e03
Optimization: lttng UI uses sprintf instead of strcpy

The LTTng client currently uses sprintf with format strings
that don't contain a format specifier.

Users have reported concerns for the scalability and performance
of the LTTng UI because of this overkill use of sprintf instead
of strcpy which, presumably, could be inlined by the compiler.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/list.c
This page took 0.0245 seconds and 4 git commands to generate.