Keep perf context FD open for other architectures
authorJulien Desfossez <jdesfossez@efficios.com>
Mon, 27 Jun 2016 21:40:00 +0000 (17:40 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 27 Jun 2016 23:10:07 +0000 (19:10 -0400)
commitb9389e6efa5e337e3de81062070f2e0dff1a4222
tree1d8bfa67fba64c3c3b4ffa3dea74ddd173f4e92f
parentb57809aaef8d884f645f808f66ad56c30afd6d01
Keep perf context FD open for other architectures

Instead of closing the perf context after the page has been mapped, keep
it open so it can be used with the read() system call if the
architecture does not support direct access from user-space.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-context-perf-counters.c
This page took 0.024701 seconds and 4 git commands to generate.