]> git.lttng.org Git - ust.git/commit
Fix freeing of channels and buffers in buffers.c v2
authorNils Carlson <nils.carlson@ericsson.com>
Tue, 30 Nov 2010 13:36:30 +0000 (14:36 +0100)
committerNils Carlson <nils.carlson@ericsson.com>
Wed, 29 Dec 2010 11:47:59 +0000 (12:47 +0100)
commitef15e552c145311c21bb89a1f5e9c6c040e1737f
treeb6cda9881d454423de5c0e4a7c503d86d946d5d8
parent8c9d8113bbc71204132e8512bca16b0989dd9d95
Fix freeing of channels and buffers in buffers.c v2

Changes since v1:
Handle new naming conventions

buffers.c appeared to be very convoluted full of krefs and in
general very bad shape. I have tried to make the freeing and
unmapping of shared memory symmetrical in the sense that every
open has a corresponding close and every map has a corresponding
unmap.

I have removed all use of krefs. Assuming no concurrency this
should be fine. The kref usage was anyway broken.

Signed-off-by: Nils Carlson <nils.carlson@ericsson.com>
libust/buffers.c
libust/tracer.c
This page took 0.02657 seconds and 4 git commands to generate.