From: Maynard J. <may...@us...> - 2014-06-09 14:38:52
|
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 949ed6b73aec4504f22bc1182b5404998ffd1583 (commit) from 5646afee4c74a6759fc61d11b9203b0f6d60f529 (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 949ed6b73aec4504f22bc1182b5404998ffd1583 Author: Carl Love <ce...@us...> Date: Mon Jun 9 09:15:59 2014 -0500 opreport: header timestamps are different for kallsyms file The time stamp for kallsyms can be different because it is not a real file. Hence, when there are samples from the kallsyms file and the following conditions are met you get an error about the time stamps not matching. - operf was run with the '--separate-thread' option - operf was run either as root or as normal user where /proc/sys/kernel/kptr_restrict is set to 0 - The application being profiled is a multi-threaded app that executes both pthread_create and fork[2] This patch fixes the issue by assigning the time stamp of zero when the source file is kallsyms. Signed-off-by: Carl Love <ce...@us...> ----------------------------------------------------------------------- Summary of changes: libperf_events/operf_mangling.cpp | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) hooks/post-receive -- oprofile |