summaryrefslogtreecommitdiff
path: root/overlay/gpu-perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/gpu-perf.c')
-rw-r--r--overlay/gpu-perf.c2
1 files changed, 0 insertions, 2 deletions
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));