[PATCH 3/5] perf,tools: save misc sample read value in struct perf_sample

2015-07-23 Thread kan . liang
From: Kan Liang Save group read results from cycles/ref-cycles/TSC/ASTATE/MSTATE in struct perf_sample. The following sample process function can easily use them to caculate freq/CPU%/CORE_BUSY% and add them in hists. Signed-off-by: Kan Liang --- tools/perf/util/event.h | 11 +++

[PATCH 3/5] perf,tools: save misc sample read value in struct perf_sample

2015-07-23 Thread Kan Liang
Save group read results from cycles/ref-cycles/TSC/ASTATE/MSTATE in struct perf_sample. The following sample process function can easily use them to caculate freq/CPU%/CORE_BUSY% and add them in hists. Signed-off-by: Kan Liang --- tools/perf/util/event.h | 11 +++

[PATCH 3/5] perf,tools: save misc sample read value in struct perf_sample

2015-07-23 Thread Kan Liang
Save group read results from cycles/ref-cycles/TSC/ASTATE/MSTATE in struct perf_sample. The following sample process function can easily use them to caculate freq/CPU%/CORE_BUSY% and add them in hists. Signed-off-by: Kan Liang kan.li...@intel.com --- tools/perf/util/event.h | 11 +++

[PATCH 3/5] perf,tools: save misc sample read value in struct perf_sample

2015-07-23 Thread kan . liang
From: Kan Liang kan.li...@intel.com Save group read results from cycles/ref-cycles/TSC/ASTATE/MSTATE in struct perf_sample. The following sample process function can easily use them to caculate freq/CPU%/CORE_BUSY% and add them in hists. Signed-off-by: Kan Liang kan.li...@intel.com ---