lkml.org 
[lkml]   [2016]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/7] perf config: Add support for config read/write
Date
Hello, :)

Add simple config read/write functionalities.

I had worked at the related patchset https://lkml.org/lkml/2016/2/22/38
But I remake new this patchset for only support for read/write config file.
And There're Namhyung's requests https://lkml.org/lkml/2016/10/24/572

In particular, I agonized implement way for write functionality.
I especially wonder other opinions about new boolean variable
'from_system_config' I use.

If someone review this patchset and give me some feedback,
I'd appreciated it. :)

Thanks,
Taeung

v2:
- a bit change commit messages
- refactor parts of parse_config_arg

Taeung Song (7):
perf config: Add support for getting functionality
perf config: Document examples getting config info in man page
perf config: Parse arguments before getting functionality
perf config: Parse arguments before setting functionality
perf config: Add support for write functionality
perf config: Document config setting examples in man page
perf config: Mark where are config items from (user or system)

tools/perf/Documentation/perf-config.txt | 35 +++++++
tools/perf/builtin-config.c | 155 ++++++++++++++++++++++++++++++-
tools/perf/util/config.c | 20 ++++
tools/perf/util/config.h | 4 +
4 files changed, 211 insertions(+), 3 deletions(-)

--
2.7.4

\
 
 \ /
  Last update: 2016-11-14 09:22    [W:0.058 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site