commit | 4597cf0664d2fad785509dedfed22f8fe8951ebb | [log] [tgz] |
---|---|---|
author | Taeung Song <treeze.taeung@gmail.com> | Sat Apr 08 09:52:24 2017 +0900 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Tue Apr 11 16:22:22 2017 -0300 |
tree | 1298004463bccfbbdab9172bf1fbcd34c5272e0d | |
parent | c9d1c93421e3b3c7051b193c9cf648a3bc55cb3e [diff] |
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>