diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2011-10-05 17:50:23 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-10-07 12:12:29 -0300 |
| commit | 1980c2ebd7020d82c024b8c4046849b38e78e7da (patch) | |
| tree | 3f2004bffaf6e77b66571e44f8af247ac177d92b /include | |
| parent | 3f2728bdb6a4cad0d18b09d03e2008121c902751 (diff) | |
perf hists: Threaded addition and sorting of entries
By using a mutex just for inserting and rotating two hist_entry rb
trees, so that when sorting we can get the last batch of entries created
from the ring buffer, merge it with whatever we have processed so far
and show the output while new entries are being added.
The 'report' tool continues, for now, to do it without threading, but
will use this in the future to allow visualization of results in long
perf.data sessions while the entries are being processed.
The new 'top' tool will be the first user.
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions