alistair23-linux/drivers/perf
Joakim Zhang c12c0288e3 perf/imx_ddr: Add support for AXI ID filtering
AXI filtering is used by events 0x41 and 0x42 to count reads or writes
with an ARID or AWID matching a specified filter. The filter is exposed
to userspace as an (ID, MASK) pair, where each set bit in the mask
causes the corresponding bit in the ID to be ignored when matching
against the ID of memory transactions for the purposes of incrementing
the counter.

For example:

  # perf stat -a -e imx8_ddr0/axid-read,axi_mask=0xff,axi_id=0x800/ cmd

will count all read transactions from AXI IDs 0x800 - 0x8ff. If the
'axi_mask' is omitted, then it is treated as 0x0 which means that the
'axi_id' will be matched exactly.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Will Deacon <will@kernel.org>
2019-08-28 14:16:55 +01:00
..
hisilicon perf: Remove dev_err() usage after platform_get_irq() 2019-07-31 17:15:20 +01:00
arm-cci.c perf/arm-cci: Remove broken race mitigation 2019-04-23 12:29:23 +01:00
arm-ccn.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
arm_dsu_pmu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
arm_pmu.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
arm_pmu_acpi.c arm64 updates for 5.3: 2019-07-08 09:54:55 -07:00
arm_pmu_platform.c
arm_smmuv3_pmu.c perf/smmuv3: Validate groups for global filtering 2019-08-27 19:37:04 +01:00
arm_spe_pmu.c arm64 updates for 5.3: 2019-07-08 09:54:55 -07:00
fsl_imx8_ddr_perf.c perf/imx_ddr: Add support for AXI ID filtering 2019-08-28 14:16:55 +01:00
Kconfig drivers/perf: imx_ddr: Add DDR performance counter support to perf 2019-06-13 11:07:57 +01:00
Makefile drivers/perf: imx_ddr: Add DDR performance counter support to perf 2019-06-13 11:07:57 +01:00
qcom_l2_pmu.c perf: Remove dev_err() usage after platform_get_irq() 2019-07-31 17:15:20 +01:00
qcom_l3_pmu.c docs: perf: move to the admin-guide 2019-07-15 09:20:27 -03:00
thunderx2_pmu.c For drivers that do not support context exclusion let's advertise the 2019-01-21 11:01:24 +01:00
xgene_pmu.c perf: Remove dev_err() usage after platform_get_irq() 2019-07-31 17:15:20 +01:00