aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorHuisong Li <[email protected]>2024-08-28 18:49:53 +0800
committerWei Xu <[email protected]>2024-10-14 08:54:48 +0000
commit3400c85f6400dc907d686d319faad25956ac4db1 (patch)
treeebef5598f242fcf56343a6c248678c2bb684fc0b /tools/perf/scripts/python/syscall-counts-by-pid.py
parent0c811bd2721d219bd104e0dc1fa76deee5e04ae4 (diff)
soc: hisilicon: kunpeng_hccs: Add the check for base address and size of shared memory
If the shmem_base_addr from PCCT is zero, hccs_register_pcc_channel will return success. And then driver will access to illegal address when send PCC command. In addition, the size of shared memory used for communication between driver and platform is fixed, namely 64 Bytes which is unchangeable. So add the verification for hardening code. Signed-off-by: Huisong Li <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Wei Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions