diff options
author | Joakim Zhang <qiangqing.zhang@nxp.com> | 2019-08-28 14:07:52 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-08-28 15:16:55 +0200 |
commit | c12c0288e35a4693b1606e229dab54a62f1ad568 (patch) | |
tree | 0311e23b069b69131b2ad23889008076f5f170ad /crypto/cbc.c | |
parent | perf/smmuv3: Validate groups for global filtering (diff) | |
download | linux-c12c0288e35a4693b1606e229dab54a62f1ad568.tar.xz linux-c12c0288e35a4693b1606e229dab54a62f1ad568.zip |
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>
Diffstat (limited to 'crypto/cbc.c')
0 files changed, 0 insertions, 0 deletions