lkml.org 
[lkml]   [2017]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] perf config: Bugfixes & Refactoring
Date
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 avaiable at 'config/refactoring' branch on

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


Thanks,
Taeung

Taeung Song (7):
perf config: Refactor a duplicated code for config file name
perf config: Check list empty before showing configs
perf config: Use none_err for all cases that nothing configured
perf config: Invert if statements to reduce nesting in cmd_config()
perf config: Correctly check whether it is from system config
perf config: Finally write changed configs on config file at a time
perf config: No free config set when it's initialization failed

tools/perf/builtin-config.c | 92 +++++++++++++++++++++++++--------------------
tools/perf/util/config.c | 7 +---
2 files changed, 54 insertions(+), 45 deletions(-)

--
2.7.4

\
 
 \ /
  Last update: 2017-04-26 14:22    [W:0.072 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site