summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-diff.c
diff options
context:
space:
mode:
authorTaeung Song <treeze.taeung@gmail.com>2017-04-08 03:52:24 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-11 22:22:22 +0300
commit4597cf0664d2fad785509dedfed22f8fe8951ebb (patch)
tree1298004463bccfbbdab9172bf1fbcd34c5272e0d /tools/perf/builtin-diff.c
parentc9d1c93421e3b3c7051b193c9cf648a3bc55cb3e (diff)
downloadlinux-4597cf0664d2fad785509dedfed22f8fe8951ebb.tar.xz
perf annotate: Refactor the code to parse disassemble lines with {l,r}trim()
When parsing disassemble lines, use ltrim() and rtrim() to strip them, not using just while loop and isspace(). Signed-off-by: Taeung Song <treeze.taeung@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1491612748-1605-2-git-send-email-treeze.taeung@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-diff.c')
0 files changed, 0 insertions, 0 deletions