Received: by 10.192.165.148 with SMTP id m20csp882581imm; Wed, 25 Apr 2018 09:04:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx490H87zNkmPBjVL08O9wkhRCjbpmw3LycAuJKpZ87beU0KWEtbqryiAqngMOrBQsZxwPZoI X-Received: by 2002:a17:902:33a5:: with SMTP id b34-v6mr30005637plc.232.1524672296457; Wed, 25 Apr 2018 09:04:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524672296; cv=none; d=google.com; s=arc-20160816; b=iHkEgEA6kXIHA2iEJtsKEHknp5D0yH6WgQqHSrRyYtbqMDkzTRpVotbMGiPw/h1NYC kp+OwwUs1IztryeHJYW8mlLPLE5hBRWsvr+PMBpeBStCh1hIQxWYa+DTD41TJorWQ7Nu OWWgTNYAepko+kjAjJ0Z5oHXEzU/Ph7jERNfh12pXCCwHh8As159/tB9pGsWdM+jrv2K MYpSyXu2ZmwbK/XljTwxxtYbM48RqF388uNkyqUGHnEgJrUfzvZlH9SZ/SZaoLA6kWdL oEfXx0gtBFece6MABn31DMGeNIlWlORkJmUJTeqX7MatS0gR0a+aQ9kF7BN0aoAHZNWM SnqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:arc-authentication-results; bh=X6KnYDFVJbmiQUfqKj4rW8r+seWZpd8Y+JNALACKAs4=; b=aYcXt8cj78QxiZda4BmawbcICe+ytMXCdHti26OpT8S1JsvPCCAa98RWPW76EWAU6H 0obhSkLF6WbVL9uSC2D6xOn20Vd3Lr9VqK6LO7kWU1gGFs4ck+Z7jhmElkQ8JdDT4oc/ b19Up1JJPWeiZKRLv1m2bKMN14khLEDBjBnMD8G7ZVp0kTpxMtnwL6o+srZoiwn4I1fA NhEaMOlQnMs0VT3TjfIilIS4CbunowpEJLcP1zMYYZZjOsHG20M5byM70RadMbW8sM7v TZFAdmvX5pDfykYoBJNbWwxU3IiZfvgZpFyb76jfKYHPIbY63gl/oyem6gX4y6kQ/0aQ Bngw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y87si15941697pfi.141.2018.04.25.09.04.41; Wed, 25 Apr 2018 09:04:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755826AbeDYQAp (ORCPT + 99 others); Wed, 25 Apr 2018 12:00:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:47082 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755768AbeDYQAj (ORCPT ); Wed, 25 Apr 2018 12:00:39 -0400 Received: from jouet.infradead.org (unknown [179.97.41.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B5EFC217D9; Wed, 25 Apr 2018 16:00:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B5EFC217D9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: Clark Williams , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Sangwon Hong , Namhyung Kim , Taeung Song , Arnaldo Carvalho de Melo Subject: [PATCH 07/12] perf mem: Document incorrect and missing options Date: Wed, 25 Apr 2018 13:00:03 -0300 Message-Id: <20180425160008.3407-8-acme@kernel.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180425160008.3407-1-acme@kernel.org> References: <20180425160008.3407-1-acme@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sangwon Hong Several options were incorrectly described, some lacked describing required arguments while others were simply not documented, fix it. Signed-off-by: Sangwon Hong Acked-by: Jiri Olsa Cc: Namhyung Kim Cc: Taeung Song Link: http://lkml.kernel.org/r/1524382146-19609-1-git-send-email-qpakzk@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Documentation/perf-mem.txt | 41 +++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 12 deletions(-) diff --git a/tools/perf/Documentation/perf-mem.txt b/tools/perf/Documentation/perf-mem.txt index 8806ed5f3802..f8d2167cf3e7 100644 --- a/tools/perf/Documentation/perf-mem.txt +++ b/tools/perf/Documentation/perf-mem.txt @@ -28,29 +28,46 @@ OPTIONS ...:: Any command you can specify in a shell. +-i:: +--input=:: + Input file name. + -f:: --force:: Don't do ownership validation -t:: ---type=:: +--type=:: Select the memory operation type: load or store (default: load,store) -D:: ---dump-raw-samples=:: +--dump-raw-samples:: Dump the raw decoded samples on the screen in a format that is easy to parse with one sample per line. -x:: ---field-separator:: +--field-separator=:: Specify the field separator used when dump raw samples (-D option). By default, The separator is the space character. -C:: ---cpu-list:: - Restrict dump of raw samples to those provided via this option. Note that the same - option can be passed in record mode. It will be interpreted the same way as perf - record. +--cpu=:: + Monitor only on the list of CPUs provided. Multiple CPUs can be provided as a + comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2. Default + is to monitor all CPUS. +-U:: +--hide-unresolved:: + Only display entries resolved to a symbol. + +-p:: +--phys-data:: + Record/Report sample physical addresses + +RECORD OPTIONS +-------------- +-e:: +--event :: + Event selector. Use 'perf mem record -e list' to list available events. -K:: --all-kernel:: @@ -60,12 +77,12 @@ OPTIONS --all-user:: Configure all used events to run in user space. ---ldload:: - Specify desired latency for loads event. +-v:: +--verbose:: + Be more verbose (show counter open errors, etc) --p:: ---phys-data:: - Record/Report sample physical addresses +--ldlat :: + Specify desired latency for loads event. In addition, for report all perf report options are valid, and for record all perf record options. -- 2.14.3