Messages in this thread | | | From | Taeung Song <> | Subject | [PATCH 0/6] perf config: Add support for setting and getting functionalities | Date | Fri, 4 Nov 2016 15:44:16 +0900 |
| |
Hello, :)
Add setting and getting features to perf-config.
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/47.
In particular, I agonized implement way for setting functionality. I especially wonder other opinions of new perf_config_set__collect() and bool from_system_config variable.
If someone review this patchset and give me some feedback, I'd appreciated it. :)
Thanks, Taeung
Taeung Song (6): perf config: Add support for getting config key-value pairs perf config: Document examples to get config key-value pairs in man page perf config: Parse config variable arguments before getting functionality perf config: Add support for writing configs to a config file perf config: Document examples to set config variables with values 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 | 135 ++++++++++++++++++++++++++++++- tools/perf/util/config.c | 20 +++++ tools/perf/util/config.h | 4 + 4 files changed, 191 insertions(+), 3 deletions(-)
-- 2.7.4
| |