aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2023-07-19 15:23:52 -0300
committerArnaldo Carvalho de Melo <[email protected]>2023-07-20 11:22:46 -0300
commit04cb4fc4d40a5bf1f9d116bc77e69791451f9fcc (patch)
tree4036839755a9bfaf34146c95b6aa711d2545b960 /tools/perf/scripts/python/export-to-postgresql.py
parent3f6a74bd628278e6eab4220449702a388aea7595 (diff)
perf thread: Allow tools to register a thread->priv destructor
So that when thread__delete() runs it can be called and free stuff tools stashed into thread->priv, like 'perf trace' does and will use this new facility to plug some leaks. Added an assert(thread__priv_destructor == NULL) as suggested in Ian's review. Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/lkml/CAP-5=fV3Er=Ek8=iE=bSGbEBmM56_PJffMWot1g_5Bh8B5hO7A@mail.gmail.com Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions