summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGabriele Monaco <gmonaco@redhat.com>2026-06-01 17:38:40 +0200
committerGabriele Monaco <gmonaco@redhat.com>2026-07-23 13:38:23 +0200
commit2a8cd68cc0ba9930ee966ef07d6e1a6a4b0e5b0f (patch)
treef4e502c569bd20f85543dcfdd7154dd8e60a4214 /tools/perf/scripts/python
parent3fc5d9bb0989996a143af03686efb32f22b46884 (diff)
verification/rvgen: Generate cleanup hook for per-obj monitor
Per-object monitors can allocate memory dynamically and such memory is required for the lifetime of the object, then it should be freed with the appropriate call. Force the generation scripts to add a cleanup function the user will need to wire to the appropriate event (e.g. sched_process_exit for tasks). This can be safely removed if the object will never cease to exist before disabling the monitor (e.g. if following only static variables). Reviewed-by: Nam Cao <namcao@linutronix.de> Link: https://lore.kernel.org/r/20260601153840.124372-14-gmonaco@redhat.com Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions