Add getcpu error validation
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 9 Feb 2011 19:09:11 +0000 (14:09 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 9 Feb 2011 19:09:11 +0000 (14:09 -0500)
commit8f09cb9340387a52b483752c5d2d6c36035b26bc
tree35b321e6c5eae653b51b57b823a6f188305d6a42
parentcacf036243594e11fc8a7e0f47f07af97a79042f
Add getcpu error validation

This check is important for the case where getcpu(2) is not implemented by the
Kernel. So, the CPU 0 is the fallback.

Reported-by: David Goulet <david.goulet@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libust/tracer.h
This page took 0.023281 seconds and 4 git commands to generate.