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