Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1619183

[PATCH v2 0/5] Refactoring with ltrim() and rtrim()

From Taeung Song <treeze.taeung@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/5] Refactoring with ltrim() and rtrim()
Date 2017-04-08 03:00 +0200
Message-ID <ttMTn-6DM-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi, :)

It is to simply refactor the code about stip strings
with ltrim() and rtrim().

I'd appreciate some feedback on this PATCHset.

The code is avaiable at 'refactor-trim-v2' branch in

  git://github.com/taeung/linux-perf

Thanks,
Taeung

v2:
- remove changes unrelated to the main purpose of PATCH (Arnaldo)

Taeung Song (5):
  perf annotate: Refactor the code to parse disassemble lines with
    {l,r}trim()
  perf annotate: Use stripped line instead of raw disassemble line
  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/ui/browser.c    |  2 +-
 tools/perf/util/annotate.c | 46 +++++++++-------------------------------------
 tools/perf/util/event.c    | 11 ++---------
 tools/perf/util/pmu.c      |  3 +--
 4 files changed, 13 insertions(+), 49 deletions(-)

-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/5] Refactoring with ltrim() and rtrim() Taeung Song <treeze.taeung@gmail.com> - 2017-04-08 03:00 +0200
  [PATCH v2 5/5] perf tools: Refactor the code to strip command name with {l,r}trim() Taeung Song <treeze.taeung@gmail.com> - 2017-04-08 03:00 +0200
    Re: [PATCH v2 5/5] perf tools: Refactor the code to strip command  name with {l,r}trim() David Ahern <dsahern@gmail.com> - 2017-04-08 20:50 +0200
      Re: [PATCH v2 5/5] perf tools: Refactor the code to strip command  name with {l,r}trim() Taeung Song <treeze.taeung@gmail.com> - 2017-04-09 07:40 +0200
  [PATCH v2 3/5] perf ui browser: Refactor the code to parse color configs with ltrim() Taeung Song <treeze.taeung@gmail.com> - 2017-04-08 03:00 +0200

csiph-web