lkml.org 
[lkml]   [2023]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC PATCH v1 1/4] docs: perf: Add documentation for HiSilicon PMCU
From

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.
> +
> ...

\
 
 \ /
  Last update: 2023-03-27 00:12    [W:0.292 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site