summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@amd.com>2024-02-02 22:59:11 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-02-06 15:26:54 +0300
commit792d36ccc163ac4aa606b3f5ec31cfd2c3a365de (patch)
treed7d9455664ca3a406fe84738ad7c9f99d5c8dd7c /tools/perf/scripts/python/export-to-sqlite.py
parent247c4ed03321cd1c971195b8127764d0826664a7 (diff)
downloadlinux-792d36ccc163ac4aa606b3f5ec31cfd2c3a365de.tar.xz
pds_core: Clean up init/uninit flows to be more readable
The setup and teardown flows are somewhat hard to follow regarding pdsc_core_init()/pdsc_dev_init() and their corresponding teardown flows being in pdsc_teardown(). Improve the readability by adding new pdsc_core_uninit()/pdsc_dev_unint() functions that mirror their init counterparts. Also, move the notify and admin qcq allocations into pdsc_core_init(), so they can be freed in pdsc_core_uninit(). Signed-off-by: Brett Creeley <brett.creeley@amd.com> Reviewed-by: Shannon Nelson <shannon.nelson@amd.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions