From: Maynard J. <may...@us...> - 2013-03-05 18:20:16
|
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 a1f2b6f40f0c49f481f33b0648b6d10ff1684312 (commit) from 79a183ed0d9611955714bfa1d6edb361d6bf5c2c (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 a1f2b6f40f0c49f481f33b0648b6d10ff1684312 Author: Maynard Johnson <may...@us...> Date: Tue Mar 5 12:05:59 2013 -0600 Make convertPerfData procedure more robust The operf_read::convertPerfData function reads sample data in perf_events format from either the temporary operf.data file or a pipe, depending on whether or not operf is run with the --lazy-conversion option. This patch makes the reading/conversion process more robust so that if bad data is found in the file or pipe, the process will display helpful messages and end gracefully. This patch also makes some other minor cleanups, correcting some misspellings, etc. Signed-off-by: Maynard Johnson <may...@us...> ----------------------------------------------------------------------- Summary of changes: libperf_events/operf_counter.cpp | 170 +++++++++++++++++++++++++++----------- libperf_events/operf_counter.h | 7 +- libperf_events/operf_utils.cpp | 80 +++++++++++++----- libperf_events/operf_utils.h | 10 ++- pe_profiling/operf.cpp | 22 +++-- 5 files changed, 205 insertions(+), 84 deletions(-) hooks/post-receive -- oprofile |