From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933803AbbGHP7j (ORCPT ); Wed, 8 Jul 2015 11:59:39 -0400 Received: from mga02.intel.com ([134.134.136.20]:37303 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758684AbbGHP7e (ORCPT ); Wed, 8 Jul 2015 11:59:34 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,432,1432623600"; d="scan'208";a="602421384" From: kan.liang@intel.com To: acme@kernel.org, jolsa@kernel.org Cc: namhyung@kernel.org, ak@linux.intel.com, linux-kernel@vger.kernel.org, Kan Liang Subject: [PATCH RFC V3 0/5] partial callgrap and time support Date: Wed, 8 Jul 2015 04:44:52 -0400 Message-Id: <1436345097-11113-1-git-send-email-kan.liang@intel.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kan Liang This patchkit adds the ability to turn off callgraphs and time stamps per event. This in term can reduce sampling overhead and the size of the perf.data. Changes since V1: - Break up V1 patches into three patches(parse option changes, partial time support and partial callgrap support). - Use strings 'fp,dwarf,lbr,no' to identify callchains - Add test case in parse-events.c Changes since V2: - Rebase on 60cd37eb10 Kan Liang (5): perf,tools: introduce OPT_CALLBACK_SET/OPT_CALLBACK_NOOPT_SET perf/documentation: Add description for period perf,tool: partial time support perf,tool: partial callgrap support perf,tests: Add tests to callgrap and time parse tools/perf/Documentation/perf-record.txt | 14 ++++++++ tools/perf/builtin-record.c | 4 +-- tools/perf/perf.h | 1 + tools/perf/tests/parse-events.c | 28 ++++++++++++++++ tools/perf/util/evsel.c | 56 ++++++++++++++++++++++++++++++-- tools/perf/util/parse-events.c | 25 ++++++++++++++ tools/perf/util/parse-events.h | 3 ++ tools/perf/util/parse-events.l | 3 ++ tools/perf/util/parse-options.c | 2 ++ tools/perf/util/parse-options.h | 4 +++ 10 files changed, 135 insertions(+), 5 deletions(-) -- 1.8.3.1