• S
    tracing: Fix memory leak on instance deletion · a9fcaaac
    Steven Rostedt (Red Hat) 提交于
    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: NSteven Rostedt <rostedt@goodmis.org>
    a9fcaaac
trace.c 162.2 KB