Add generic fallback for perf counter read
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 6 Jul 2016 19:11:57 +0000 (15:11 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 6 Jul 2016 19:11:57 +0000 (15:11 -0400)
commita3a8d943e8ed60a6d60790d3b143ee6ac1b28ce3
treef1fad6aed93a4c02cfcd219b55b2a14bfe24eb77
parent4f58f54fdc949a00a05743ecf6d95144192c2ce2
Add generic fallback for perf counter read

On x86, test the cap_user_rdpmc flag and fall-back on a system call if
unset.

On all other architectures, use the system call fallback.

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