overlay: Drop unused mmap/comm events
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 17 Aug 2013 17:48:28 +0000 (18:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 17 Aug 2013 17:48:28 +0000 (18:48 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
overlay/gpu-perf.c

index 4a3bc34..59176f9 100644 (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));