lkml.org 
[lkml]   [2016]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC][PATCH v2 0/5] perf config: Introduce perf_config_set class
Date
Hi, all :-)

We can use the config files (i.e user wide ~/.perfconfig
and system wide $(sysconfdir)/perfconfig)
to configure perf tools. perf-config help user
manage the config files, not manually look into or edit them.

Introduce new infrastructure code for config
management features of perf-config subcommand.

This pathset is for various purposes of configuration management
showing current configs, in the near future,
showing all configs with default value,
getting current configs from the config files
or writing configs that user type on the config files, etc.

IMHO, I want to add new effective funcationalities
for config management of perf-config based on this
infrastructure code.

Thanks,
Taeung

v2:
- remove perf_config_kind (user, system or both config files)
and needless at this time, etc. (Namhyung)
- separate this patch as several patches (Namhyung)
- fix typing errors, etc.

Taeung Song (5):
perf config: Introduce perf_config_set class
perf config: Let show_config() work with perf_config_set
perf config: Prepare all default configs
perf config: Initialize perf_config_set with all default configs
perf config: Add 'list-all' option to show all perf's configs

tools/perf/Documentation/perf-config.txt | 6 +
tools/perf/builtin-config.c | 102 +++++++++++++++--
tools/perf/util/config.c | 186 +++++++++++++++++++++++++++++++
tools/perf/util/config.h | 112 +++++++++++++++++++
4 files changed, 399 insertions(+), 7 deletions(-)
create mode 100644 tools/perf/util/config.h

--
2.5.0

\
 
 \ /
  Last update: 2016-03-14 14:01    [W:0.095 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site