• Steven Rostedt (Red Hat)'s avatar
    tracing: Fix memory leak on instance deletion · a9fcaaac
    Steven Rostedt (Red Hat) authored
    When an instance is created, it also gets a snapshot ring buffer
    allocated (with minimum of pages). But when it is deleted the snapshot
    buffer is not. There was a helper function added to match the allocation
    of these ring buffers to a way to free them, but it wasn't used by
    the deletion of an instance. Using that helper function solves this
    memory leak.
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    a9fcaaac
trace.c 162 KB