perf_counter tools: kerneltop: add real-time data acquisition thread
commit9dd499889bdb12ac0e412ccdd718fe0d348258f2
authorMike Galbraith <efault@gmx.de>
Fri, 27 Mar 2009 11:13:43 +0000 (27 12:13 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:30:44 +0000 (6 09:30 +0200)
treec3c74684dac1e32aaf413c81e94d0dd15a154199
parent4e935e47177c3b26cf383e79849bae2a464d0160
perf_counter tools: kerneltop: add real-time data acquisition thread

Decouple kerneltop display from event acquisition by introducing
a separate data acquisition thread. This fixes annnoying kerneltop
display refresh jitter and missed events.

Also add a -r <prio> option, to switch the data acquisition thread
to real-time priority.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Orig-LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/kerneltop.c