From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934156AbcKDGo2 (ORCPT ); Fri, 4 Nov 2016 02:44:28 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:33998 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933798AbcKDGo1 (ORCPT ); Fri, 4 Nov 2016 02:44:27 -0400 From: Taeung Song To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Namhyung Kim , Ingo Molnar , Peter Zijlstra , Wang Nan , Nambong Ha , Wookje Kwon , Taeung Song Subject: [PATCH 0/6] perf config: Add support for setting and getting functionalities Date: Fri, 4 Nov 2016 15:44:16 +0900 Message-Id: <1478241862-31230-1-git-send-email-treeze.taeung@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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