linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] perf config: Bugfixes & Refactoring
@ 2017-05-08 11:07 Taeung Song
  0 siblings, 0 replies; only message in thread
From: Taeung Song @ 2017-05-08 11:07 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: linux-kernel, Jiri Olsa, Namhyung Kim

Hi all,

This is simple patchset for perf-config
to fix small bugs and refactor code.

I'd appreciate some feedback on this patchset.

The code is also available at 'config/refactoring-v2' branch on

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


Thanks,
Taeung

v2:
- there is no need to consider empty config file (Arnaldo)

Taeung Song (4):
  perf config: Invert a if statement to reduce nesting in cmd_config()
  perf config: Finally write changed configs on config file at a time
  perf config: Correctly check whether it is from system config
  perf config: Automatically create config file if not exists when
    setting config

 tools/perf/builtin-config.c | 57 +++++++++++++++++++++++++--------------------
 tools/perf/util/config.c    |  5 +---
 2 files changed, 33 insertions(+), 29 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-08 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-08 11:07 [PATCH v2 0/4] perf config: Bugfixes & Refactoring Taeung Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).