overlay: Drop unused mmap/comm events

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-08-17 18:48:28 +01:00
parent 8cdb5bc5e8
commit be9937b65c

View File

@ -92,8 +92,6 @@ static int perf_tracepoint_open(struct gpu_perf *gp,
attr.read_format = PERF_FORMAT_ID;
attr.exclude_guest = 1;
attr.mmap = gp->nr_events == 0;
attr.comm = gp->nr_events == 0;
n = gp->nr_cpus * (gp->nr_events+1);
fd = realloc(gp->fd, n*sizeof(int));