diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-17 18:48:28 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-17 18:48:28 +0100 |
commit | be9937b65cbc7ba06f972b68db2a80c2100c4141 (patch) | |
tree | 5b195a2c3abd8c563579c6a32e3508491af0c1fd /overlay | |
parent | 8cdb5bc5e838665bd8aafde3667a55152196e7f4 (diff) |
overlay: Drop unused mmap/comm events
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/gpu-perf.c | 2 |
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)); |