From: Namhyung Kim Date: Tue, 7 Jan 2014 08:41:03 +0000 (+0900) Subject: perf top: Convert to hist_entry_iter X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~16^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c50391f536ea6ed1e75b0f4d90922a2606da3de;p=pandora-kernel.git perf top: Convert to hist_entry_iter 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. Signed-off-by: Namhyung Kim Tested-by: Arun Sharma Tested-by: Rodrigo Campos Link: http://lkml.kernel.org/r/1401335910-16832-20-git-send-email-namhyung@kernel.org Signed-off-by: Jiri Olsa --- Reading git-diff-tree failed