diff options
author | 2017-04-08 09:52:24 +0900 | |
---|---|---|
committer | 2017-04-11 16:22:22 -0300 | |
commit | 4597cf0664d2fad785509dedfed22f8fe8951ebb (patch) | |
tree | 1298004463bccfbbdab9172bf1fbcd34c5272e0d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf tools: Do not print missing features in pipe-mode (diff) | |
download | wireguard-linux-4597cf0664d2fad785509dedfed22f8fe8951ebb.tar.xz wireguard-linux-4597cf0664d2fad785509dedfed22f8fe8951ebb.zip |
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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions