summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorHuisong Li <lihuisong@huawei.com>2024-08-28 18:49:52 +0800
committerWei Xu <xuwei5@hisilicon.com>2024-10-14 08:54:47 +0000
commit0c811bd2721d219bd104e0dc1fa76deee5e04ae4 (patch)
treee172d33446f4317201d7cfbaea3c733c6544dae1 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent1cbe974f816cf40bc0437ebabe26b453331fb0d9 (diff)
soc: hisilicon: kunpeng_hccs: Return failure on having not die or port information
Driver is unavailable if all die number or all port number obtained from firmware are zero. Although this is unlikely, just to harden the code. Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions