Messages in this thread | | | From | Taeung Song <> | Subject | [PATCH 0/5] Refactoring with ltrim() and rtrim() | Date | Fri, 7 Apr 2017 23:24:16 +0900 |
| |
Hi, :)
It is to simply refactor the code about stip strings with ltrim() and rtrim().
I'd appreciate some feedback on this PATCHset.
Thanks, Taeung
Taeung Song (5): perf annotate: Refactor the code to parse disassemble lines with {l,r}trim() perf stat: Refactor the code to strip csv output with ltrim() perf ui browser: Refactor the code to parse color configs with ltrim() perf pmu: Refactor wordwrap() with ltrim() perf tools: Refactor the code to strip command name with {l,r}trim()
tools/perf/builtin-stat.c | 10 ++-------- tools/perf/ui/browser.c | 2 +- tools/perf/util/annotate.c | 49 ++++++++++------------------------------------ tools/perf/util/event.c | 11 ++--------- tools/perf/util/pmu.c | 3 +-- 5 files changed, 16 insertions(+), 59 deletions(-)
-- 2.7.4
| |