From: Chris Wilson Date: Sat, 17 Aug 2013 17:48:28 +0000 (+0100) Subject: overlay: Drop unused mmap/comm events X-Git-Tag: intel-gpu-tools-1.4~191 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be9937b65cbc7ba06f972b68db2a80c2100c4141;p=profile%2Fextras%2Fintel-gpu-tools.git overlay: Drop unused mmap/comm events Signed-off-by: Chris Wilson --- diff --git a/overlay/gpu-perf.c b/overlay/gpu-perf.c index 4a3bc34..59176f9 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));