Files
ubports_kernel_google_msm/drivers
Laura Abbott c1cc4dbfdf gpu: ion: Add scan for leaked userspace fds
The ION_IOC_MAP/ION_IOC_SHARE ioctls take a reference to
an ion buffer. If the fd generated by the ioctl is never
closed, the buffer will never be freed. This is a pain to
track down in userspace. Add a debugfs entry to do a scan
of all the buffers and check which ones have no handle
associated with them. If a buffer has no handle associated
with it, that means the last reference is an fd. There
isn't a good way to directly associate an fd with a buffer,
but this can at least be a starting point for tracking down
leaks.

Change-Id: I64eedd6a30d8298b2aa75532c7fad506542910f6
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2013-02-07 17:43:31 -08:00
..
2012-04-09 13:57:51 -07:00
2012-05-25 13:56:28 -07:00
2013-01-10 11:12:10 -08:00
2012-05-25 13:56:28 -07:00
2012-04-18 13:15:51 -07:00
2012-05-07 12:26:28 -04:00
2012-04-09 13:53:14 -07:00