Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753347AbbGUJb7 (ORCPT ); Tue, 21 Jul 2015 05:31:59 -0400 Received: from terminus.zytor.com ([198.137.202.10]:40103 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751997AbbGUJb4 (ORCPT ); Tue, 21 Jul 2015 05:31:56 -0400 Date: Tue, 21 Jul 2015 02:31:39 -0700 From: tip-bot for Kan Liang Message-ID: Cc: kan.liang@intel.com, acme@redhat.com, linux-kernel@vger.kernel.org, namhyung@kernel.org, hpa@zytor.com, tglx@linutronix.de, mingo@kernel.org, ak@linux.intel.com, jolsa@kernel.org Reply-To: namhyung@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com, tglx@linutronix.de, kan.liang@intel.com, acme@redhat.com, jolsa@kernel.org, mingo@kernel.org, ak@linux.intel.com In-Reply-To: <1436345097-11113-3-git-send-email-kan.liang@intel.com> References: <1436345097-11113-3-git-send-email-kan.liang@intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf record: Document setting '-e pmu/period=N/' in man page Git-Commit-ID: 3d5d68aabf4ff47cfb447ad90448ce50531be7f5 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2071 Lines: 47 Commit-ID: 3d5d68aabf4ff47cfb447ad90448ce50531be7f5 Gitweb: http://git.kernel.org/tip/3d5d68aabf4ff47cfb447ad90448ce50531be7f5 Author: Kan Liang AuthorDate: Wed, 8 Jul 2015 04:44:54 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 14 Jul 2015 07:52:00 -0300 perf record: Document setting '-e pmu/period=N/' in man page The 'period' param is not defined in /sys/bus/event_sources/devices//format/*, but can be used, document it. Signed-off-by: Kan Liang Acked-by: Jiri Olsa Cc: Andi Kleen Cc: Namhyung Kim Link: http://lkml.kernel.org/r/1436345097-11113-3-git-send-email-kan.liang@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Documentation/perf-record.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt index 9b9d9d0..5b47b2c 100644 --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt @@ -45,6 +45,14 @@ OPTIONS param1 and param2 are defined as formats for the PMU in: /sys/bus/event_sources/devices//format/* + There are also some params which are not defined in ...//format/*. + These params can be used to set event defaults. + Here is a list of the params. + - 'period': Set event sampling period + + Note: If user explicitly sets options which conflict with the params, + the value set by the params will be overridden. + - a hardware breakpoint event in the form of '\mem:addr[/len][:access]' where addr is the address in memory you want to break in. Access is the memory access type (read, write, execute) it can -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/