From be9937b65cbc7ba06f972b68db2a80c2100c4141 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 17 Aug 2013 18:48:28 +0100 Subject: overlay: Drop unused mmap/comm events Signed-off-by: Chris Wilson --- overlay/gpu-perf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'overlay/gpu-perf.c') diff --git a/overlay/gpu-perf.c b/overlay/gpu-perf.c index 4a3bc344..59176f95 100644 --- a/overlay/gpu-perf.c +++ b/overlay/gpu-perf.c @@ -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)); -- cgit v1.2.3