[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <08a68444-efb0-9d2e-7e70-0e495ad6ddc1@hisilicon.com>
Date: Tue, 7 Feb 2023 11:03:35 +0800
From: Jie Zhan <zhanjie9@...ilicon.com>
To: <will@...nel.org>, <mark.rutland@....com>,
<mathieu.poirier@...aro.org>, <suzuki.poulose@....com>,
<mike.leach@...aro.org>, <leo.yan@...aro.org>,
<john.g.garry@...cle.com>, <james.clark@....com>,
<peterz@...radead.org>, <mingo@...hat.com>, <acme@...nel.org>,
<corbet@....net>, <jonathan.cameron@...wei.com>
CC: <zhangshaokun@...ilicon.com>, <shenyang39@...wei.com>,
<hejunhao3@...wei.com>, <yangyicong@...ilicon.com>,
<prime.zeng@...wei.com>, <suntao25@...wei.com>,
<jiazhao4@...ilicon.com>, <linuxarm@...wei.com>,
<linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-perf-users@...r.kernel.org>
Subject: Re: [RFC PATCH v1 1/4] docs: perf: Add documentation for HiSilicon
PMCU
On 06/02/2023 14:51, Jie Zhan wrote:
> +
> +2. Profiling with ``perf-record``.
> +
> + The command to start the sampling is::
> +
> + perf record -e hisi_pmcu_sccl3/<configs>/
> +
> + Users can pass the following optional parameters to ``<configs>``:
> +
> + - nr_sample: number of samples to take. This defaults to 128.
> + - sample_period_ms: time interval in microseconds for PMU counters to keep
Spot a typo before causing any confusion. This should be "milliseconds"
rather than "microseconds".
Jie
> + counting for each event. This defaults to 3, i.e. 3ms, and its max
> + value is 85,899, i.e. 85 seconds.
> + - pmccfiltr: bits 31-24 of the sysreg PMCCFILTR_EL0, which controls how the
> + cycle counter increments. This defaults to 0x00. Please refer to the
> + "Performance Monitors external register descriptions" of *Arm Architecture
> + Reference Manual for A-profile architecture* on how to configure
> + PMCCFILTR_EL0.
> +
> ...
Powered by blists - more mailing lists