From: Maynard J. <may...@us...> - 2013-06-10 12:20:33
|
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 40c0fae650e0e9ccf255cb645e2cd66f0b3eafa6 (commit) from 2dcd1386a8504df1289f22e05377cbd4b5b5f118 (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 40c0fae650e0e9ccf255cb645e2cd66f0b3eafa6 Author: Maynard Johnson <may...@us...> Date: Mon Jun 10 07:04:51 2013 -0500 Print debug message when module summary count differs from total symbols counts A user who was profiling a Java application was generating various types of reports with opreport. He noted an anomaly involving module sample counts for certain binary images that were associated with the JVM (a couple shared libs and the <PID>.jo file created by opjitconv). The 'opreport' and 'opreport --xml' commands showed different module-level sample counts for these particular binary images. When the '--xml' option is passed to opreport, by default, it outputs symbol-level sample counts, so there's no way to directly compare a "no symbols" summary report between XML and flat text. The flat text summary includes all samples attributed to a binary, but when a symbols-level report is requested, we may find that some of those samples are bogus or for some reason, cannot be resolved to a symbol (e.g., the address lies outside the range of symbol addresses for this binary). The XML module summary count actually sums up the individual symbols counts, so that's why it's possible to see a differnce in XML module summary counts and flat text module summary counts. This patch adds the capability for opreport to detect a difference in the module summary count and the total symbols count and to print an INFO message when the '--verbose=debug' flag is passed. This capability is documented in the opreport man page. Signed-off-by: Maynard Johnson <may...@us...> ----------------------------------------------------------------------- Summary of changes: doc/opreport.1.in | 14 ++++++++++++++ libpp/profile.h | 1 + libpp/profile_container.cpp | 16 ++++++++++++++++ 3 files changed, 31 insertions(+), 0 deletions(-) hooks/post-receive -- oprofile |