diff options
author | 2024-02-23 18:33:53 +0800 | |
---|---|---|
committer | 2024-03-04 14:18:28 +0000 | |
commit | 4d473461e0948645efa82b4c025d014f40c373ff (patch) | |
tree | 6395831af42bbf40e96574b54f39355501965fa7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers/perf: hisi_pcie: Rename hisi_pcie_pmu_{config,clear}_filter() (diff) | |
download | wireguard-linux-4d473461e0948645efa82b4c025d014f40c373ff.tar.xz wireguard-linux-4d473461e0948645efa82b4c025d014f40c373ff.zip |
drivers/perf: hisi_pcie: Introduce hisi_pcie_pmu_get_event_ctrl_val()
Factor out retrieving of the register value for the
corresponding event from hisi_pcie_config_event_ctrl() into a
new function hisi_pcie_pmu_get_event_ctrl_val() allowing future
reuse.
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20240223103359.18669-3-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