summaryrefslogtreecommitdiff
path: root/overlay/gpu-perf.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-17 18:48:28 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-17 18:48:28 +0100
commitbe9937b65cbc7ba06f972b68db2a80c2100c4141 (patch)
tree5b195a2c3abd8c563579c6a32e3508491af0c1fd /overlay/gpu-perf.c
parent8cdb5bc5e838665bd8aafde3667a55152196e7f4 (diff)
overlay: Drop unused mmap/comm events
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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));