diff options
author | Junhao He <[email protected]> | 2024-02-23 18:33:58 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-03-04 14:18:29 +0000 |
commit | 7da377059ee653dd4ddcc126fd26c9c78f7bc4e7 (patch) | |
tree | 8e13e415e70ca83729fe13fc4d909b706d655f69 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2fbf96ed883adcdf0f641cfe07e695dac7e5d540 (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 <[email protected]>
Signed-off-by: Yicong Yang <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions