aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJunhao He <hejunhao3@huawei.com>2024-02-23 18:33:58 +0800
committerWill Deacon <will@kernel.org>2024-03-04 14:18:29 +0000
commit7da377059ee653dd4ddcc126fd26c9c78f7bc4e7 (patch)
tree8e13e415e70ca83729fe13fc4d909b706d655f69 /tools/perf/scripts/python/export-to-postgresql.py
parent2fbf96ed883adcdf0f641cfe07e695dac7e5d540 (diff)
drivers/perf: hisi_pcie: Merge find_related_event() and get_event_idx()
The function xxx_find_related_event() scan all working events to find related events. During this process, we also can find the idle counters. If not found related events, return the first idle counter to simplify the code. Signed-off-by: Junhao He <hejunhao3@huawei.com> Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20240223103359.18669-8-yangyicong@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions