From: Maynard J. <may...@us...> - 2013-04-19 12:43:34
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "oprofile". The branch, master has been updated via 3aa2fe6d19a35a2da26f0b7ead726d9bc8bf7cd8 (commit) from 7156161f8963eeb6fab163a4b3093d62ad272541 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 3aa2fe6d19a35a2da26f0b7ead726d9bc8bf7cd8 Author: Maynard Johnson <may...@us...> Date: Fri Apr 19 07:26:32 2013 -0500 oprofile pp tools should print messages about lost samples When operf completes running, it collects statistics about lost samples, records them in the operf.log, and prints a warning message if the number of lost samples exceeds a pre-defined percentage (.01%) of the total number of samples. However, when opreport or any of the other oprofile post-processing tools are run, the statistics are not readily available (only in the operf.log), so there is no warning about lost samples. This patch persists those statistics to files in the <session-dir>/samples/current/stats dir, allowing the pp tools to access them later. These stats files are also copied by oparchive, so even archived profile data will have the statistics available. Signed-off-by: Maynard Johnson <may...@us...> ----------------------------------------------------------------------- Summary of changes: libop/op_config.c | 15 +++++++ libop/op_config.h | 26 +++++++++++++ libperf_events/operf_counter.cpp | 2 +- libperf_events/operf_stats.cpp | 61 ++++++++++++++++++++++++----- libperf_events/operf_stats.h | 40 +------------------ libpp/profile_spec.cpp | 41 ++++++++++++++++++-- libutil/op_fileio.c | 30 ++++++++++++++ libutil/op_fileio.h | 11 +++++ pe_profiling/operf.cpp | 7 --- pp/oparchive.cpp | 78 ++++++++++++++++++++++++++++++------- 10 files changed, 236 insertions(+), 75 deletions(-) hooks/post-receive -- oprofile |