diff options
author | Frank Li <frank.li@nxp.com> | 2019-05-01 18:43:29 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-06-13 11:07:57 +0100 |
commit | 9a66d36cc7ace8062bd703d1edfb99437a2ddf2b (patch) | |
tree | e3321a1edc901db79bff1ed81fbeb0ddcfbe89e9 /virt | |
parent | 2b37c1c3e7bbfaaa3910ee66f44f5a4138229884 (diff) | |
download | linux-9a66d36cc7ace8062bd703d1edfb99437a2ddf2b.tar.gz linux-9a66d36cc7ace8062bd703d1edfb99437a2ddf2b.tar.bz2 linux-9a66d36cc7ace8062bd703d1edfb99437a2ddf2b.zip |
drivers/perf: imx_ddr: Add DDR performance counter support to perf
Add DDR performance monitor support for iMX8QXP. The PMU consists of 3
programmable event counters and a single dedicated cycle counter.
Example usage:
$ perf stat -a -e \
imx8_ddr0/read-cycles/,imx8_ddr0/write-cycles/,imx8_ddr0/precharge/ ls
- or -
$ perf stat -a -e \
imx8_ddr0/cycles/,imx8_ddr0/read-access/,imx8_ddr0/write-access/ ls
Other events are supported, and advertised via perf list.
Reviewed-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
[will: rewrote commit message/kconfig and used #defines for dev/cpuhp names]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions