diff options
| author | Gabriele Monaco <gmonaco@redhat.com> | 2026-06-01 17:38:40 +0200 |
|---|---|---|
| committer | Gabriele Monaco <gmonaco@redhat.com> | 2026-07-23 13:38:23 +0200 |
| commit | 2a8cd68cc0ba9930ee966ef07d6e1a6a4b0e5b0f (patch) | |
| tree | f4e502c569bd20f85543dcfdd7154dd8e60a4214 /tools/perf/scripts/python | |
| parent | 3fc5d9bb0989996a143af03686efb32f22b46884 (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
