[PATCH 18/21] perf top: Convert to hist_entry_iter

2014-03-19 Thread Namhyung Kim
Reuse hist_entry_iter__add() function to share the similar code with perf report. Note that it needs to be called with hists.lock so tweak some internal functions not to deadlock or hold the lock too long. Tested-by: Arun Sharma Acked-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/perf/b

Re: [PATCH 18/21] perf top: Convert to hist_entry_iter

2014-02-09 Thread Namhyung Kim
On Fri, 7 Feb 2014 13:26:01 +, Rodrigo Campos wrote: > On Fri, Feb 07, 2014 at 10:35:20AM +0900, Namhyung Kim wrote: >> Reuse hist_entry_iter__add() function to share the similar code with >> perf report. Note that it needs to be called with hists.lock so tweak >> some internal functions not t

Re: [PATCH 18/21] perf top: Convert to hist_entry_iter

2014-02-07 Thread Rodrigo Campos
On Fri, Feb 07, 2014 at 10:35:20AM +0900, Namhyung Kim wrote: > Reuse hist_entry_iter__add() function to share the similar code with > perf report. Note that it needs to be called with hists.lock so tweak > some internal functions not to deadlock or hold the lock too long. > > Tested-by: Arun Sha

[PATCH 18/21] perf top: Convert to hist_entry_iter

2014-02-06 Thread Namhyung Kim
Reuse hist_entry_iter__add() function to share the similar code with perf report. Note that it needs to be called with hists.lock so tweak some internal functions not to deadlock or hold the lock too long. Tested-by: Arun Sharma Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 78 +++

[PATCH 18/21] perf top: Convert to hist_entry_iter

2014-01-22 Thread Namhyung Kim
Reuse hist_entry_iter__add() function to share the similar code with perf report. Note that it needs to be called with hists.lock so tweak some internal functions not to deadlock or hold the lock too long. Tested-by: Arun Sharma Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 78 +++