Limit the number of events enabled in live
authorJulien Desfossez <jdesfossez@efficios.com>
Thu, 6 Dec 2012 15:49:10 +0000 (10:49 -0500)
committerJulien Desfossez <jdesfossez@efficios.com>
Thu, 6 Dec 2012 15:49:10 +0000 (10:49 -0500)
commit20e26b34f91e6d21e407aa64f39a8a0283402ddf
treecd08a7d773916c39f4a50866fa7f1d9d906ef13a
parent165edebfee1e430b3c8a6afbcac7a9de64cdfb70
Limit the number of events enabled in live

Instead of enabling all the kernel events, we now only activate the
events we need.
On an Intel Core 2 Duo, the CPU usage of LTTngTop in live mode pass
from 3% to 1%.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
src/lttngtop.c
This page took 0.027 seconds and 4 git commands to generate.