Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935521AbcKNIVw (ORCPT ); Mon, 14 Nov 2016 03:21:52 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:33954 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932343AbcKNIVs (ORCPT ); Mon, 14 Nov 2016 03:21:48 -0500 From: Taeung Song To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Namhyung Kim , Ingo Molnar , Peter Zijlstra , Wang Nan , Taeung Song Subject: [PATCH v2 0/7] perf config: Add support for config read/write Date: Mon, 14 Nov 2016 17:21:35 +0900 Message-Id: <1479111702-5989-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 Content-Length: 1340 Lines: 39 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