aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/builtin-sched.c
diff options
context:
space:
mode:
authorVincent Legoll <vincent.legoll@gmail.com>2009-10-13 10:18:16 +0200
committerIngo Molnar <mingo@elte.hu>2009-10-13 11:55:31 +0200
commitcfed95a693e1ea5d08b9c9019bc30e448437ee2f (patch)
tree1334775a5b22a0b430e7616d2020bec4593565df /tools/perf/builtin-sched.c
parent9dbdd6c41c12fb42ee7188eafa7e1917b192af3a (diff)
perf tools: Do not manually count string lengths
Use strlen & macros instead of manually counting string lengths as this is error prone and may lend to bugs. Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com> Cc: Linus Torvalds <torvalds@osdl.org> LKML-Reference: <4727185d0910130118m5387058dndb02ac9b384af9f0@mail.gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-sched.c')
0 files changed, 0 insertions, 0 deletions