diff options
| author | Ulrich Drepper <[email protected]> | 2009-12-06 13:25:30 -0500 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-12-07 08:09:29 +0100 |
| commit | 180570fdb7a3c404b599f0a318c2ccf86e4827ed (patch) | |
| tree | 1251ef18261812270c2080dc72ba4a4229917a90 /scripts/objdiff | |
| parent | 67a6259ec97b8408f86f2fe8459d2233f0b0987d (diff) | |
perf tools: Optimize parse_subsystem_tracepoint_event()
Uses of strcat are almost always signs that someone is too lazy
to think about the code a bit more carefully. One always has to
know about the lengths of the strings involved to avoid buffer
overflows.
This is one case where the size of the object code for me is
reduced by 38 bytes. The code should also be faster, especially
if flags is non-NULL.
Signed-off-by: Ulrich Drepper <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions