[PATCH 4/5] perf,tools: caculate and save freq/CPU%/CORE_BUSY% in he_stat

2015-07-23 Thread kan . liang
From: Kan Liang Introduce a new hist_iter ops (hist_iter_freq_perf) to caculate the freq/CPU%/CORE_BUSY% freq when processing samples, and save them in hist_entry. Signed-off-by: Kan Liang --- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +-

[PATCH 4/5] perf,tools: caculate and save freq/CPU%/CORE_BUSY% in he_stat

2015-07-23 Thread Kan Liang
Introduce a new hist_iter ops (hist_iter_freq_perf) to caculate the freq/CPU%/CORE_BUSY% freq when processing samples, and save them in hist_entry. Signed-off-by: Kan Liang --- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +- tools/perf/tests/hists_link.c | 4 ++--

[PATCH 4/5] perf,tools: caculate and save freq/CPU%/CORE_BUSY% in he_stat

2015-07-23 Thread Kan Liang
Introduce a new hist_iter ops (hist_iter_freq_perf) to caculate the freq/CPU%/CORE_BUSY% freq when processing samples, and save them in hist_entry. Signed-off-by: Kan Liang kan.li...@intel.com --- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +-

[PATCH 4/5] perf,tools: caculate and save freq/CPU%/CORE_BUSY% in he_stat

2015-07-23 Thread kan . liang
From: Kan Liang kan.li...@intel.com Introduce a new hist_iter ops (hist_iter_freq_perf) to caculate the freq/CPU%/CORE_BUSY% freq when processing samples, and save them in hist_entry. Signed-off-by: Kan Liang kan.li...@intel.com --- tools/perf/builtin-annotate.c | 2 +-