aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDaniel De Graaf <[email protected]>2011-02-03 12:19:01 -0500
committerKonrad Rzeszutek Wilk <[email protected]>2011-02-14 14:08:51 -0500
commit68b025c813c2eb41ff25628e3d4952d5185eb1a4 (patch)
tree94a35faa65ea9cf5956ee6eaa04ab65c7abb17ff /tools/perf/util/trace-event-scripting.c
parenta879211bf1d70339e429603805c014450c275f2a (diff)
xen-gntdev: Add reference counting to maps
This allows userspace to perform mmap() on the gntdev device and then immediately close the filehandle or remove the mapping using the remove ioctl, with the mapped area remaining valid until unmapped. This also fixes an infinite loop when a gntdev device is closed without first unmapping all areas. Signed-off-by: Daniel De Graaf <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions