Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1515033

[PATCH 0/6] perf config: Add support for setting and getting functionalities

From Taeung Song <treeze.taeung@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/6] perf config: Add support for setting and getting functionalities
Date 2016-11-04 07:50 +0100
Message-ID <szGu5-6zz-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] perf config: Add support for setting and getting functionalities Taeung Song <treeze.taeung@gmail.com> - 2016-11-04 07:50 +0100
  [PATCH 3/6] perf config: Parse config variable arguments before getting functionality Taeung Song <treeze.taeung@gmail.com> - 2016-11-04 07:50 +0100
  [PATCH 1/6] perf config: Add support for getting config key-value pairs Taeung Song <treeze.taeung@gmail.com> - 2016-11-04 07:50 +0100
  [PATCH 6/6] perf config: Mark where are config items from (user or system) Taeung Song <treeze.taeung@gmail.com> - 2016-11-04 07:50 +0100
  [PATCH 4/6] perf config: Add support for writing configs to a config file Taeung Song <treeze.taeung@gmail.com> - 2016-11-04 07:50 +0100

csiph-web