From: Namhyung Kim Date: Tue, 7 Jan 2014 08:02:25 +0000 (+0900) Subject: perf tools: Add callback function to hist_entry_iter X-Git-Tag: omap-for-v3.16/fixes-against-rc1~34^2~16^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d3c02d7188866299eebe3c4a652c08140a71f40;p=pandora-kernel.git perf tools: Add callback function to hist_entry_iter The new ->add_entry_cb() will be called after an entry was added to the histogram. It's used for code sharing between perf report and perf top. Note that ops->add_*_entry() should set iter->he properly in order to call the ->add_entry_cb. Also pass @arg to the callback function. It'll be used by perf top later. Signed-off-by: Namhyung Kim Tested-by: Arun Sharma Tested-by: Rodrigo Campos Cc: Frederic Weisbecker Link: http://lkml.kernel.org/r/87k393g999.fsf@sejong.aot.lge.com Signed-off-by: Jiri Olsa --- Reading git-diff-tree failed