diff options
author | Ira Weiny <ira.weiny@intel.com> | 2024-11-07 23:58:22 +0300 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2024-11-08 19:39:05 +0300 |
commit | 0f6f0d687adcb4747e71f2a797acc9a739d71778 (patch) | |
tree | 7c2d3782488ceec8e9b1aa0758ee17c99ad030b4 /tools/perf/scripts/python/gecko.py | |
parent | f88b3ecc9cc737fc518b7a386d38bb2110712fa2 (diff) | |
download | linux-0f6f0d687adcb4747e71f2a797acc9a739d71778.tar.xz |
cxl/pci: Delay event buffer allocation
The event buffer does not need to be allocated if something has failed in
setting up event irq's.
In prep for adjusting event configuration for DCD events move the buffer
allocation to the end of the event configuration.
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Li Ming <ming4.li@intel.com>
Link: https://lore.kernel.org/all/663922b475e50_d54d72945b@dwillia2-xfh.jf.intel.com.notmuch/ [1]
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://patch.msgid.link/20241107-dcd-type2-upstream-v7-4-56a84e66bc36@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions