[PATCH 3/8] drivers/perf: hisi: Add new functions for L3C PMU

John Garry john.garry at huawei.com
Tue Jan 26 07:05:24 EST 2021


On 31/12/2020 06:19, Shaokun Zhang wrote:
> On HiSilicon Hip09 platform, some new functions are enhanced on L3C PMU,
> like, tracetag feature that L3C PMU can only count the specified
> operations by the user, or L3C PMU can give the desired core's statistics
> in the cluster.
> $# perf stat -a -e hisi_sccl3_l3c0/config=0x02,tt_core=0xf/ sleep 5
> 
> $# perf stat -a -e hisi_sccl3_l3c0/config=0x02,tt_req=0x4/ sleep 5
> 
> Cc: Mark Rutland<mark.rutland at arm.com>
> Cc: Will Deacon<will at kernel.org>
> Cc: John Garry<john.garry at huawei.com>
> Cc: Jonathan Cameron<Jonathan.Cameron at huawei.com>
> Co-developed-by: Qi Liu<liuqi115 at huawei.com>
> Signed-off-by: Qi Liu<liuqi115 at huawei.com>
> Signed-off-by: Shaokun Zhang<zhangshaokun at hisilicon.com>

Reviewed-by: John Garry <john.garry at huawei.com>



More information about the linux-arm-kernel mailing list